sys-utils: use errexec()
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
7bc5eeee44
commit
fd777151bf
9 changed files with 12 additions and 14 deletions
|
@ -258,6 +258,6 @@ int main(int argc, char *argv[])
|
|||
warn(_("cannot access %s"), init);
|
||||
|
||||
execv(init, initargs);
|
||||
err(EXIT_FAILURE, _("failed to execute %s"), init);
|
||||
errexec(init);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue