Browse Source

corrected if

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
3a5086c821
  1. 6
      functions/core_functions.sh

6
functions/core_functions.sh

@ -7,7 +7,7 @@ lgsm_version="270216"
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function.
# This function is called first before any other function. Without this file other functions would not load.
# Code/functions for legacy lgsm scripts
# Code/functions for legacy servers
fn_functions(){
functionfile="${FUNCNAME}"
@ -19,8 +19,8 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
# fn_fetch_core_dl also placed here to allow legecy scripts to still download core functions
if [ -n "${lgsmdir}" ]; then
# fn_fetch_core_dl also placed here to allow legecy servers to still download core functions
if [ -z "${lgsmdir}" ]; then
lgsmdir="${rootdir}/lgsm"
functionsdir="${lgsmdir}/functions"
fi

Loading…
Cancel
Save