diff options
| author | Paul Buetow <rubyfy@dev.buetow.org> | 2015-10-28 09:47:45 +0000 |
|---|---|---|
| committer | Paul Buetow <rubyfy@dev.buetow.org> | 2015-10-28 09:47:45 +0000 |
| commit | bc16abddf658210932b58a41fe8ee5c5d4a9f3d7 (patch) | |
| tree | 14a1b6356ad235e2f6e632ab9909bcd2c2209592 | |
| parent | d562d0ea3236d7863ef2ea5da408df0330a3720c (diff) | |
Fix
| -rwxr-xr-x | rubyfy.rb | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -111,7 +111,6 @@ private def run_command(server, user=ENV["USER"], pcond=nil, command="id", background=false, root=false, script=nil) log(:VERBOSE,"#{server}::Connecting") - command = nil sudo = root ? "sudo " : "" if background nohup = "nohup " @@ -120,7 +119,6 @@ private nohup = nohup_end = "" end Net::SSH.start(server, user) do |ssh| - exec_command = nil if script log(:VERBOSE, "#{server}::Using script #{script} (command will be overwritten)") basename = File.basename(script) |
