diff --git a/lib/globals.sh b/lib/globals.sh index 0cd668b..634fc65 100644 --- a/lib/globals.sh +++ b/lib/globals.sh @@ -85,7 +85,9 @@ isempty() { } mount_dayz_network_drive() { if ! is_network_drive_mounted ; then - sudo mkdir -p /mnt/dayz + if [ ! -d /mnt/dayz ] ; then + sudo mkdir -p /mnt/dayz + fi if [ -e /proc/version ] ; then read -r ver < /proc/version case $ver in