1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Log each command & args.

This commit is contained in:
Alasdair Kergon 2003-08-26 21:00:05 +00:00
parent e2ac5517a9
commit 8b7a435dee

View File

@ -714,6 +714,8 @@ static int _run_command(struct cmd_context *cmd, int argc, char **argv)
if (!(cmd->cmd_line = _copy_command_line(cmd, argc, argv)))
return ECMD_FAILED;
log_debug("Processing: %s", cmd->cmd_line);
if (!(cmd->command = _find_command(argv[0])))
return ENO_SUCH_CMD;