Преглед на файлове

if missing vars in the main script

Daniel Gibbs преди 9 години
родител
ревизия
21d4a2c6f9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lgsm/functions/core_functions.sh

+ 1 - 1
lgsm/functions/core_functions.sh

@@ -26,7 +26,7 @@ fn_fetch_function
 }
 
 # fn_fetch_core_dl also placed here to allow legacy servers to still download core functions
-if [ -z "${lgsmdir}" ]; then
+if [ -z "${lgsmdir}" ]||[ -z "${functionsdir}" ]||[ -z "${libdir}" ]; then
 	lgsmdir="${rootdir}/lgsm"
 	functionsdir="${lgsmdir}/functions"
 	libdir="${lgsmdir}/lib"