aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openrc-shutdown/openrc-shutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openrc-shutdown/openrc-shutdown.c b/src/openrc-shutdown/openrc-shutdown.c
index dddc749b..a2fae5f5 100644
--- a/src/openrc-shutdown/openrc-shutdown.c
+++ b/src/openrc-shutdown/openrc-shutdown.c
@@ -167,13 +167,13 @@ static void sleep_no_interrupt(int seconds)
duration = remaining;
}
-static void stop_shutdown(int sig)
+_noreturn static void stop_shutdown(int sig)
{
(void) sig;
unlink(nologin_file);
unlink(shutdown_pid);
-einfo("Shutdown canceled");
-exit(0);
+ einfo("Shutdown cancelled");
+ exit(0);
}
int main(int argc, char **argv)