diff --git a/ssm b/ssm index 0bddb14..0102640 100755 --- a/ssm +++ b/ssm @@ -1002,6 +1002,8 @@ run_service_action "pre_$action" || die 13 "pre_$action failed!" # Run the main action run_service_action "$action"; res = "$?" +service_exit_file is file && var service_exit_code = $(