From 11c131e849230f53587d21058e18f769e5ce9e29 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 12 Nov 2024 10:29:09 +0100 Subject: [PATCH] nano --- bash/mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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