summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-02 15:55:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-02 15:55:24 +0200
commit7330eb454048ec7e892535df79eb49b59d819a7c (patch)
tree0a78238ddbc516d935a927d589f5f9bbf673cdfb /package
parentd8c7316c1694601eba73f02e4ce8507873bd1bb8 (diff)
fix daemon mode
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile2
-rw-r--r--package/uvd/Makefile3
-rw-r--r--package/uvd/src/uvd.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 7ca456dbb..033844c1e 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 14
+PKG_RELEASE:= 15
PKG_DESCR:= basic filesystem structure and scripts
PKG_SECTION:= base
diff --git a/package/uvd/Makefile b/package/uvd/Makefile
index 75aa907e6..a1ebf2897 100644
--- a/package/uvd/Makefile
+++ b/package/uvd/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= uvd
PKG_VERSION:= 0.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_DESCR:= small udp server for version information
PKG_SECTION:= base
PKG_URL:= http://www.openadk.org
@@ -28,5 +28,4 @@ do-install:
${INSTALL_DIR} ${IDIR_UVD}/sbin
${INSTALL_BIN} ${WRKBUILD}/uvd ${IDIR_UVD}/sbin
-# please remove ALL above comments, before commiting
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/uvd/src/uvd.c b/package/uvd/src/uvd.c
index f41a5c885..72d7980c1 100644
--- a/package/uvd/src/uvd.c
+++ b/package/uvd/src/uvd.c
@@ -157,7 +157,7 @@ int main(int argc, char **argv) {
if (daemonize) {
/* Create a new session for child process */
- if ((sid = setsid()) < 0);
+ if ((sid = setsid()) < 0)
die_log(lf, "Can't create a new session for child process");
/* Change the current working directory */