diff --git a/t2.lic b/t2.lic index 375a20ea6..b733628ff 100644 --- a/t2.lic +++ b/t2.lic @@ -92,7 +92,7 @@ class T2 pause 5 end end - if !@settings.t2_after_shutdown.empty? + unless @settings.t2_after_shutdown.empty? echo "***STATUS*** Controlled shutdown, executing shutdown actions." execute_actions(@settings.t2_after_shutdown) end