aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 88004342..1ec57481 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -150,7 +150,7 @@ start()
fi
fi
- rm -f /etc/nologin
+ [ -w /etc/nologin ] && rm -f /etc/nologin
return 0
}