blob: d171669a5d40561c5c46765f2bdf1f6ce6cbb6a7 (
plain)
1 # https://bugzilla.redhat.com/show_bug.cgi?id=1188052
2
3 commit 17a3e5bffb7110d46de1bf42b64b90713ff5ea50
4 Author: Chris Mayo <aklhfex@gmail.com>
5 Date: Sun Feb 1 12:03:46 2015 -0500
6
7 statd: Fix test for foreground mode
8
9 daemon_init parameter has the opposite sense
10 to code removed in commit 7addf9d
11
12 Signed-off-by: Chris Mayo <aklhfex@gmail.com>
13 Signed-off-by: Steve Dickson <steved@redhat.com>
14
15 diff --git a/utils/statd/statd.c b/utils/statd/statd.c
16 index 60ce6d1..2b7a167 100644
17 --- a/utils/statd/statd.c
18 +++ b/utils/statd/statd.c
19 @@ -393,7 +393,7 @@ int main (int argc, char **argv)
20 simulator (--argc, ++argv); /* simulator() does exit() */
21 #endif
22
23 - daemon_init(!(run_mode & MODE_NODAEMON));
24 + daemon_init((run_mode & MODE_NODAEMON));
25
26 if (run_mode & MODE_LOG_STDERR) {
27 xlog_syslog(0);
|