scripts dutchification - batch 3

This commit is contained in:
bergware
2023-10-05 01:21:39 +02:00
parent 16c2b793dc
commit efec20cf83
+1 -1
View File
@@ -208,7 +208,7 @@ fi
/sbin/$SHUTDOWN_COMMAND -w
# Turn off swap:
if [[ ! $(/bin/cat /proc/swaps | wc -l) == 1 ]]; then
if [[ ! $(/bin/cat /proc/swaps | /bin/wc -l) == 1 ]]; then
log "Turning off swap."
run /sbin/swapoff -a
run /bin/sync