aboutsummaryrefslogtreecommitdiff
path: root/src/rc/openrc-shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/openrc-shutdown.c')
-rw-r--r--src/rc/openrc-shutdown.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rc/openrc-shutdown.c b/src/rc/openrc-shutdown.c
index e39f1316..2c8863bb 100644
--- a/src/rc/openrc-shutdown.c
+++ b/src/rc/openrc-shutdown.c
@@ -160,9 +160,7 @@ static void sleep_no_interrupt(int seconds)
static void stop_shutdown(int sig)
{
- /* use the sig parameter so the compiler will not complain */
- if (sig == SIGINT)
- ;
+ (void) sig;
unlink(nologin_file);
unlink(shutdown_pid);
einfo("Shutdown canceled");