script: add missing exit()
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
b923bdbe52
commit
8ef57fdf13
|
@ -632,6 +632,8 @@ static void __attribute__((__noreturn__)) done_log(struct script_control *ctl, c
|
|||
utempter_remove_record(ctl->master);
|
||||
#endif
|
||||
kill(ctl->child, SIGTERM); /* make sure we don't create orphans */
|
||||
|
||||
exit(ctl->rc_wanted ? status : EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
static void __attribute__((__noreturn__)) done(struct script_control *ctl)
|
||||
|
|
Loading…
Reference in New Issue