Daniel Gibbs 9 lat temu
rodzic
commit
98fb5ec811
2 zmienionych plików z 9 dodań i 11 usunięć
  1. 0 2
      lgsm/functions/check.sh
  2. 9 9
      lgsm/functions/core_functions.sh

+ 0 - 2
lgsm/functions/check.sh

@@ -79,8 +79,6 @@ do
 	fi
 done
 
-
-
 local allowed_commands_array=( command_details.sh command_monitor.sh command_start.sh command_stop.sh command_ts3_server_pass.sh command_update.sh command_details.sh command_validate.sh )
 for allowed_command in "${allowed_commands_array[@]}"
 do

+ 9 - 9
lgsm/functions/core_functions.sh

@@ -46,15 +46,15 @@ fn_fetch_function
 }
 
 command_postdetails.sh(){
-    functionfile="${FUNCNAME}"
-    tempffname="${functionfile}"
-    # First, grab the command_postdetails.sh file
-    fn_fetch_function
-    # But then next, command_details.sh needs to also be pulled
-    # because command_postdetails.sh sources its functions -CedarLUG
-    functionfile="command_details.sh"
-    fn_fetch_function
-    functionfile="${tempffname}"
+functionfile="${FUNCNAME}"
+tempffname="${functionfile}"
+# First, grab the command_postdetails.sh file
+fn_fetch_function
+# But then next, command_details.sh needs to also be pulled
+# because command_postdetails.sh sources its functions -CedarLUG
+functionfile="command_details.sh"
+fn_fetch_function
+functionfile="${tempffname}"
 }
 
 command_details.sh(){