summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index b250d043..fd15bd4c 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -711,7 +711,7 @@ fi
[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
echo "** Filesystem setup started at $(sysup)"
# setup of client root filesystem dependent on the availability of UnionFS
-if [ -n "${union_type}" ] ; then
+if [ "x${union_type}" != "x" ] ; then
echo "Using ${union_type} for rw access"
mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs
# adapting tempfs size of the device directory (takes /tmp in stage4)