summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index eb14326..69d9542 100755
--- a/init
+++ b/init
@@ -76,7 +76,7 @@ for x in $(cat /proc/cmdline); do
BOOT=${x#boot=}
;;
resume=*)
- RESUME=${x#resume=}
+ RESUME="${x#resume=}"
;;
noresume)
NORESUME=y
@@ -104,7 +104,7 @@ for x in $(cat /proc/cmdline); do
esac
done
-if [ -z ${NORESUME} ]; then
+if [ -z "${NORESUME}" ]; then
export resume=${RESUME}
fi