From 21eab22997732b98850320906e514b50f6b6fe97 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 27 Apr 2007 23:25:59 +0000 Subject: Okay, one last try -- the Util#binary command was not returning a path in all true cases, and the provider tests were poorly written and missed it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2427 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb index 8e07a27a1..777afab5f 100644 --- a/lib/puppet/util.rb +++ b/lib/puppet/util.rb @@ -221,7 +221,7 @@ module Util def binary(bin) if bin =~ /^\// if FileTest.exists? bin - return true + return bin else return nil end -- cgit