summaryrefslogtreecommitdiff
path: root/src/daemon.cc
diff options
context:
space:
mode:
authordeva <deva>2005-06-14 18:58:35 +0000
committerdeva <deva>2005-06-14 18:58:35 +0000
commit35f79080273e736107e70c23675c89220bc2feda (patch)
tree08b35954af65dd1568761d913b63764972f9592b /src/daemon.cc
parent2348bf307ca32bb65b54017ee1906fda48b55087 (diff)
*** empty log message ***R0_2_4
Diffstat (limited to 'src/daemon.cc')
-rw-r--r--src/daemon.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemon.cc b/src/daemon.cc
index fc42ee7..678a8c9 100644
--- a/src/daemon.cc
+++ b/src/daemon.cc
@@ -48,9 +48,8 @@ int Daemon::run(uid_t uid, gid_t gid)
f = fork();
switch(f) {
case -1: // Fork error
- fprintf(stderr, "fork() error!\n");
+ perror("Fork in daemon.cc");
return 1;
- break;
case 0: // Forked child
if(setgid(gid) != 0) {