sys-utils: use errexec()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-02-01 15:44:25 +01:00
parent 7bc5eeee44
commit fd777151bf
9 changed files with 12 additions and 14 deletions

View file

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