summaryrefslogtreecommitdiff
path: root/lib/chef/provider/service/upstart.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-05-30 14:31:15 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-05-30 14:31:15 -0700
commitd9924be2a17e2592c58655830d4e9038db27d887 (patch)
tree324508b11fd834143f5e0ddd1fa24aef1507c669 /lib/chef/provider/service/upstart.rb
parentc80702c741232a5da0d410d4b8770137690430aa (diff)
downloadchef-d9924be2a17e2592c58655830d4e9038db27d887.tar.gz
convert shell_out_with_systems_locale to `default_env: true`lcg/remove-shell-out-with-systems-locale
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/service/upstart.rb')
-rw-r--r--lib/chef/provider/service/upstart.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/service/upstart.rb b/lib/chef/provider/service/upstart.rb
index 810d9eabb7..68f97d1ff2 100644
--- a/lib/chef/provider/service/upstart.rb
+++ b/lib/chef/provider/service/upstart.rb
@@ -169,7 +169,7 @@ class Chef
if @new_resource.start_command
super
else
- shell_out_with_systems_locale!("/sbin/start #{@job}")
+ shell_out!("/sbin/start #{@job}", default_env: false)
end
end
@@ -185,7 +185,7 @@ class Chef
if @new_resource.stop_command
super
else
- shell_out_with_systems_locale!("/sbin/stop #{@job}")
+ shell_out!("/sbin/stop #{@job}", default_env: false)
end
end
@@ -217,7 +217,7 @@ class Chef
super
else
# upstart >= 0.6.3-4 supports reload (HUP)
- shell_out_with_systems_locale!("/sbin/reload #{@job}")
+ shell_out!("/sbin/reload #{@job}", default_env: false)
end
@upstart_service_running = true