Commit e2e1dbf4 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

util: report a command name in error messages for cr_system()

It is good to know what command were executed.

https://github.com/xemul/criu/issues/371Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 943df7d6
......@@ -652,7 +652,7 @@ int cr_system_userns(int in, int out, int err, char *cmd,
execvp(cmd, argv);
pr_perror("exec failed");
pr_perror("exec(%s, ...) failed", cmd);
out_chld:
_exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment