Daniel Gibbs 10 năm trước cách đây
mục cha
commit
f2d673a070
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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