master - toollib: Fix misleading message when forking.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c68fb55ac104079e4708d9b869ef8edd9d1202c4 Commit: c68fb55ac104079e4708d9b869ef8edd9d1202c4 Parent: 3f6e7f90cac72bd248c068f2893ef851d29cf1b9 Author: Alasdair G Kergon <[email protected]> AuthorDate: Thu Apr 14 17:21:02 2016 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Thu Apr 14 17:21:02 2016 +0100
toollib: Fix misleading message when forking.
Commands like pvscan --background run entirely in the background, but others fork only for polling.
--- tools/toollib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/toollib.c +1 -1
@@ -54,7 +54,7 @@ int become_daemon(struct cmd_context *cmd, int skip_lvm) .sa_flags = SA_NOCLDSTOP, }; -log_verbose ("Forking background process: %s" , cmd->cmd_line); +log_verbose ("Forking background process from command: %s" , cmd->cmd_line);sigaction (SIGCHLD , &act,NULL );