summaryrefslogtreecommitdiff
path: root/lib/chef/resource/timezone.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/timezone.rb')
-rw-r--r--lib/chef/resource/timezone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/timezone.rb b/lib/chef/resource/timezone.rb
index 97aa738af9..7ed67860cd 100644
--- a/lib/chef/resource/timezone.rb
+++ b/lib/chef/resource/timezone.rb
@@ -74,7 +74,7 @@ class Chef
# @since 14.7
# @return [String] timezone id
def current_windows_tz
- tz_shellout = shell_out!("tzutil /g")
+ tz_shellout = shell_out("tzutil /g")
raise "There was an error running the tzutil command" if tz_shellout.exitstatus == 1
tz_shellout.stdout.strip