Use ruby 1.8-compatible call syntax for Kernel#system (issue #17)

This commit is contained in:
Kevin Rohrbaugh 2011-01-05 13:02:49 -05:00
parent 0eaaa57f1e
commit 12dd6073a7
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module Qwandry
# Returns true if binary `name` is present.
def present? name
system("which #{name}", STDOUT=>"/dev/null")
system("which #{name} > /dev/null")
end
# Sets the default configuration to launch, if no `configurations` are passed
@ -144,4 +144,4 @@ module Qwandry
end
end
end
end