[lvm-devel] master - toollib: Fix misleading message when forking.
Alasdair Kergon
agk at fedoraproject.org
Thu Apr 14 16:22:14 UTC 2016
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c68fb55ac104079e4708d9b869ef8edd9d1202c4
Commit: c68fb55ac104079e4708d9b869ef8edd9d1202c4
Parent: 3f6e7f90cac72bd248c068f2893ef851d29cf1b9
Author: Alasdair G Kergon <agk at redhat.com>
AuthorDate: Thu Apr 14 17:21:02 2016 +0100
Committer: Alasdair G Kergon <agk at redhat.com>
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(-)
diff --git a/tools/toollib.c b/tools/toollib.c
index 2ff5a3b..ce49773 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -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);
More information about the lvm-devel
mailing list