summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2016-04-14 17:21:02 +0100
committerAlasdair G Kergon <agk@redhat.com>2016-04-14 17:21:02 +0100
commitc68fb55ac104079e4708d9b869ef8edd9d1202c4 (patch)
tree4fc4d31ef0d5ea96154f59b4837319b47f69db64
parent3f6e7f90cac72bd248c068f2893ef851d29cf1b9 (diff)
downloadlvm2-c68fb55ac104079e4708d9b869ef8edd9d1202c4.tar.gz
toollib: Fix misleading message when forking.
Commands like pvscan --background run entirely in the background, but others fork only for polling.
-rw-r--r--tools/toollib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index 2ff5a3b1d..ce4977380 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);