Manpage clarifications on "nofiles".
[live-boot-grml.git] / scripts / live-bottom / 13swap
index ecbdce1..1975bd5 100755 (executable)
@@ -20,7 +20,7 @@ esac
 
 # live-initramfs header
 
-if [ -n "${NOSWAP}" ] || [ -n "${NOFSTAB}" ]
+if [ -z "${SWAPON}" ] || [ -n "${NOFSTAB}" ]
 then
        exit 0
 fi