aboutsummaryrefslogtreecommitdiff
path: root/toys/other/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/reboot.c')
-rw-r--r--toys/other/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/reboot.c b/toys/other/reboot.c
index 1e8f5e9b..15eea285 100644
--- a/toys/other/reboot.c
+++ b/toys/other/reboot.c
@@ -25,7 +25,7 @@ config REBOOT
void reboot_main(void)
{
int types[] = {RB_AUTOBOOT, RB_HALT_SYSTEM, RB_POWER_OFF},
- sigs[] = {SIGINT, SIGUSR1, SIGUSR2}, idx;
+ sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx;
if (!(toys.optflags & FLAG_n)) sync();