aboutsummaryrefslogtreecommitdiffstats
path: root/stage1/prerun.sh
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2018-03-02 20:08:24 +0000
committerSerge Schneider <[email protected]>2018-03-13 12:50:50 +0000
commitff2d5edee18efbb7ba2498e5bf8d308c186c4866 (patch)
tree380dd4fb8138fcbcf374839a880deb3191ca0725 /stage1/prerun.sh
parent56da271499afe7ae8e35a8fd30f04135283b2fb0 (diff)
shellcheck
Diffstat (limited to 'stage1/prerun.sh')
-rwxr-xr-xstage1/prerun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/prerun.sh b/stage1/prerun.sh
index ebb5d35..9acd13c 100755
--- a/stage1/prerun.sh
+++ b/stage1/prerun.sh
@@ -1,5 +1,5 @@
#!/bin/bash -e
-if [ ! -d ${ROOTFS_DIR} ]; then
+if [ ! -d "${ROOTFS_DIR}" ]; then
copy_previous
fi