summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-06-09 17:43:10 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit19c70b501a4e041408814bb2810984f5835c1a47 (patch)
tree10be80f746fdece2be6f193d5c8cf2699226c0ed /lib/puppet
parent09881cf0e21faa60c33d475d111d2aa0fb647db7 (diff)
downloadpuppet-19c70b501a4e041408814bb2810984f5835c1a47.tar.gz
puppet-19c70b501a4e041408814bb2810984f5835c1a47.tar.xz
puppet-19c70b501a4e041408814bb2810984f5835c1a47.zip
Remove over-eager error branch in a complicated If
Diffstat (limited to 'lib/puppet')
-rwxr-xr-xlib/puppet/type/exec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb
index 8a773e93e..448a56714 100755
--- a/lib/puppet/type/exec.rb
+++ b/lib/puppet/type/exec.rb
@@ -529,10 +529,6 @@ module Puppet
end
end
end
- else
- raise ArgumentError,
- "'%s' is somehow not qualified with no search path" %
- self[:command]
end
unless FileTest.exists?(exe)