summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/initscripts/initscripts-1.0/slugos/checkroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh
index 4c826b49fa..a26b9ffa37 100644
--- a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh
@@ -62,7 +62,7 @@ exec 0>&9 9>&-
# We don't test whether we're running a 2.[0123].x kernel and md
# since that's plain too old.
-if test "$DOSWAP" = yes
+if test "$DOSWAP" != no
then
swaps="$(blkid -t TYPE=swap -o device 2>/dev/null)"
if test -n "$swaps"