aboutsummaryrefslogtreecommitdiff
path: root/src/engine.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-04-17 16:44:14 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-04-17 16:44:14 +0000
commite8689b969f84ead4f34f3b40545b0b5fab4729c5 (patch)
tree4c2cdf6779dd76fbb3dcb676dab16e4b1c19aa41 /src/engine.c
parent2cde838634410277e59562959ed3ee9989622d0d (diff)
downloadmailfromd-e8689b969f84ead4f34f3b40545b0b5fab4729c5.tar.gz
mailfromd-e8689b969f84ead4f34f3b40545b0b5fab4729c5.tar.bz2
Bug fixes (sync with trunk)release_3_1_patches
git-svn-id: file:///svnroot/mailfromd/branches/release_3_1_patches@1358 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/engine.c')
-rw-r--r--src/engine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine.c b/src/engine.c
index 5548dd87..c9c5d0da 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -1256,6 +1256,8 @@ mailfromd_daemon()
{
int rc;
+ mu_error("mailfromd version %s starting", PACKAGE_VERSION);
+
priv_setup();
if (!foreground)
@@ -1286,14 +1288,13 @@ mailfromd_daemon()
umask(0117);
mu_daemon_create_pidfile(pidfile);
rc = smfi_main();
- mu_error("OK. REMOVING PIDFILE");
- mu_daemon_remove_pidfile();
} else {
umask(0117);
rc = smfi_main();
mu_error("smfi_main failed: rc=%d errno=%s",
rc, strerror (errno));
}
+ mu_error("mailfromd terminating");
exit(rc);
}

Return to:

Send suggestions and report system problems to the System administrator.