Daniel Gibbs 10 lat temu
rodzic
commit
f2d673a070
1 zmienionych plików z 1 dodań i 1 usunięć
  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