projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use "test -s" instead of testing file availability and size.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
13swap
diff --git
a/scripts/live-bottom/13swap
b/scripts/live-bottom/13swap
index
303fbbb
..
1975bd5
100755
(executable)
--- a/
scripts/live-bottom/13swap
+++ b/
scripts/live-bottom/13swap
@@
-20,14
+20,14
@@
esac
# live-initramfs header
-if [ -
n "${NOSWAP
}" ] || [ -n "${NOFSTAB}" ]
+if [ -
z "${SWAPON
}" ] || [ -n "${NOFSTAB}" ]
then
exit 0
fi
. /scripts/live-functions
-log_begin_msg "Setting up swap
...
"
+log_begin_msg "Setting up swap"
# live-initramfs script