aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-03-19 14:55:11 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-03-19 14:55:11 +0200
commit60b43ae490f52a783a34c8d77baaa695f7c32f01 (patch)
treedc12766e17c42d9c1cef991c5aee04970ea12801 /src/pies.c
parent238924457849e53eae3771bc6240883b37e1ff34 (diff)
downloadpies-60b43ae490f52a783a34c8d77baaa695f7c32f01.tar.gz
pies-60b43ae490f52a783a34c8d77baaa695f7c32f01.tar.bz2
Bugfixes
* src/pies.c (main): Issue the start-up message after eventual changing to background and the corresponding reconfiguration of diagnostic output channel. * src/piesctl.c (parse_condition_to_uri, com_id): Fix checking for arguments.
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pies.c b/src/pies.c
index 3fb181c..851ab58 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -2192,8 +2192,6 @@ main (int argc, char **argv)
exit (EX_USAGE);
}
- logmsg (LOG_INFO, _("%s %s starting"), proginfo.package, proginfo.version);
-
if (!foreground)
{
check_pidfile (pidfile);
@@ -2205,6 +2203,8 @@ main (int argc, char **argv)
diag_setup (DIAG_TO_SYSLOG);
}
+ logmsg (LOG_INFO, _("%s %s starting"), proginfo.package, proginfo.version);
+
if (!init_process)
{
if (ctl_open ())

Return to:

Send suggestions and report system problems to the System administrator.