diff --git a/bash/mount.sh b/bash/mount.sh index ca6ac45..ee14c83 100644 --- a/bash/mount.sh +++ b/bash/mount.sh @@ -1,7 +1,7 @@ mo() { local directory="${1}" local file - if [ "${directory}" ] ; then + if [ -n "${directory}" ] ; then directory="$(realpath "${directory}")" file="${directory}/filesystem.squashfs" if mkdir "overlay" ; then