diff options
Diffstat (limited to 'mountvirtfs.sh')
-rw-r--r-- | mountvirtfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh index 2849dad..4c016e5 100644 --- a/mountvirtfs.sh +++ b/mountvirtfs.sh @@ -27,6 +27,6 @@ else printf "%b" " ${IYLW}${LFS}/run${IGRN} is already mounted${RST}\n" fi -if [ -h "${LFS}"/dev/shm ]; then +if [[ -h "${LFS}"/dev/shm ]]; then sudo mkdir -pv "${LFS}"/"$(readlink "${LFS}"/dev/shm)" fi |