1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

toollib: Fix misleading message when forking.

Commands like pvscan --background run entirely in the background,
but others fork only for polling.
This commit is contained in:
Alasdair G Kergon 2016-04-14 17:21:02 +01:00
parent 3f6e7f90ca
commit c68fb55ac1

View File

@ -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);