mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
add program name to logged error
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
c907c823c3
commit
66691c6e6c
@ -153,7 +153,7 @@ int run_program(const char *command, const char *subsystem,
|
||||
execv(argv[0], argv);
|
||||
|
||||
/* we should never reach this */
|
||||
err("exec of program failed");
|
||||
err("exec of program '%s' failed", argv[0]);
|
||||
_exit(1);
|
||||
case -1:
|
||||
err("fork of '%s' failed", argv[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user