Re: [PATCH] statd: Fix test for foreground mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/01/2015 09:03 AM, Chris Mayo wrote:
> daemon_init parameter has the opposite sense to code removed in commit 7addf9d
> 
> Signed-off-by: Chris Mayo <aklhfex@xxxxxxxxx>
> ---
>  utils/statd/statd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Committed... 

Hmm.. I didn't see this because I did all my testing with
systemd starting/stopping the daemons... I looks like
I'm going to have to rejigger my tests a bit... 

What distros/worlds don't systemd? I'll try to bring up
a VM to do some testing in those worlds... 

steved.

> 
> diff --git a/utils/statd/statd.c b/utils/statd/statd.c
> index 60ce6d1..6ff28f4 100644
> --- a/utils/statd/statd.c
> +++ b/utils/statd/statd.c
> @@ -393,7 +393,7 @@ int main (int argc, char **argv)
>  		simulator (--argc, ++argv);	/* simulator() does exit() */
>  #endif
>  
> -	daemon_init(!(run_mode & MODE_NODAEMON));
> +	daemon_init(run_mode & MODE_NODAEMON);
>  
>  	if (run_mode & MODE_LOG_STDERR) {
>  		xlog_syslog(0);
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux