diff --git a/functions/check_systemdir.sh b/functions/check_systemdir.sh index 896ae5bf4..9f21ca29c 100644 --- a/functions/check_systemdir.sh +++ b/functions/check_systemdir.sh @@ -2,9 +2,9 @@ # LGSM check_systemdir.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -lgsm_version="061115" +lgsm_version="161215" -if [ ! -f "${systemdir}" ]; then +if [ ! -d "${systemdir}" ]; then fn_printfailnl "Cannot access ${systemdir}: No such directory" exit 1 fi