Daniel Gibbs 10 vuotta sitten
vanhempi
commit
f2d673a070
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lgsm/functions/core_exit.sh

+ 1 - 1
lgsm/functions/core_exit.sh

@@ -29,8 +29,8 @@ if [ -n "${exitcode}" ]&&[ "${exitcode}" != "0" ]; then
 elif [ -n "${exitbypass}" ]; then
 	unset exitbypass
 else
-	fn_script_log_pass "${function_selfname} exiting with code: ${exitcode}"
 	exitcode=0
+	fn_script_log_pass "${function_selfname} exiting with code: ${exitcode}"
 	fn_exit_dev_debug
 	# remove trap.
 	trap - INT