lib/chef/fork/commands/ssh.rb in chef-fork-0.1.0 vs lib/chef/fork/commands/ssh.rb in chef-fork-0.1.1

- old
+ new

@@ -8,11 +8,12 @@ class Fork module Commands class Ssh < Noop def run(args=[]) rest = optparse.order(args) - hostname = rest.shift - ssh(hostname, rest) + if hostname = rest.shift + ssh(hostname, rest) + end end private def define_options super