summaryrefslogtreecommitdiff
path: root/lib/chef/provider/route.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/route.rb')
-rw-r--r--lib/chef/provider/route.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/route.rb b/lib/chef/provider/route.rb
index b23d0307cc..2195abfe29 100644
--- a/lib/chef/provider/route.rb
+++ b/lib/chef/provider/route.rb
@@ -133,7 +133,7 @@ class Chef
else
command = generate_command(:add)
converge_by("run #{command.join(' ')} to add route") do
- shell_out_compact!(command)
+ shell_out!(command)
logger.info("#{new_resource} added")
end
end
@@ -146,7 +146,7 @@ class Chef
if is_running
command = generate_command(:delete)
converge_by("run #{command.join(' ')} to delete route ") do
- shell_out_compact!(command)
+ shell_out!(command)
logger.info("#{new_resource} removed")
end
else