Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
ct = utmp_ctime(&utmpbuf);
printf(_("\ninterrupted %10.10s %5.5s \n"), ct, ct + 11);
if (signo == SIGINT)
- exit(1);
+ _exit(1);
(void)fflush(stdout); /* fix required for rsh */
}
unlink(_PATH_NOLOGIN);
signal(SIGINT, SIG_DFL);
my_puts(_("Shutdown process aborted"));
- exit(1);
+ _exit(1);
}
static int
static void
done(int dummy) {
(void)printf("EOF\r\n");
- exit(0);
+ _exit(0);
}
/*
static void sig_handler(int signo)
{
free(buf);
- exit(EXIT_SUCCESS);
+ _exit(EXIT_SUCCESS);
}
static void __attribute__((__noreturn__)) usage(FILE *out)
static void sig_handler(int signo)
{
- exit(EXIT_SUCCESS);
+ _exit(EXIT_SUCCESS);
}
static void exitbuf(void)