summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/dnf.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-05-30 15:17:32 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-05-30 15:17:32 -0700
commita2865ad2ae40ec78ecdfba6d58853df51699b8eb (patch)
tree9876350572357844568ac5e18c6b7ab97e3760df /lib/chef/provider/package/dnf.rb
parent087827cc0217273f8e33ca2050b27285ff8bc127 (diff)
downloadchef-a2865ad2ae40ec78ecdfba6d58853df51699b8eb.tar.gz
convert a_to_s to shell_out_compact in DNF/yum
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/package/dnf.rb')
-rw-r--r--lib/chef/provider/package/dnf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/dnf.rb b/lib/chef/provider/package/dnf.rb
index 90a5596727..cb55919a14 100644
--- a/lib/chef/provider/package/dnf.rb
+++ b/lib/chef/provider/package/dnf.rb
@@ -1,5 +1,5 @@
#
-# Copyright:: Copyright 2016-2017, Chef Software Inc.
+# Copyright:: Copyright 2016-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -167,7 +167,7 @@ class Chef
end
def dnf(*args)
- shell_out_with_timeout!(a_to_s("dnf", *args))
+ shell_out_compact_timeout!("dnf", *args)
end
def safe_version_array