aboutsummaryrefslogtreecommitdiff
path: root/init.d/fsck.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/fsck.in')
-rw-r--r--init.d/fsck.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index d03e1417..5bf9ba8a 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -19,7 +19,7 @@ _abort() {
# We should only reboot when first booting
_reboot() {
- if [ "${RC_SOFTLEVEL}" = "${RC_BOOTLEVEL}" ]; then
+ if [ "${RC_RUNLEVEL}" = "${RC_BOOTLEVEL}" ]; then
reboot "$@"
_abort || return 1
fi