Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #412 from smarterclayton/one_line_empty_ssh
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Jun 23, 2013
2 parents 06a23df + 6bce19b commit 4222844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rhc/ssh_helpers.rb
Expand Up @@ -75,7 +75,7 @@ def run(&block)
io = dest == :stdout ? $stdout : $stderr
data.chomp!

if data.each_line.to_a.count == 1
if data.each_line.to_a.count < 2
io.puts "[#{label}] #{data}"
elsif @opts[:always_prefix]
data.each_line do |line|
Expand Down

0 comments on commit 4222844

Please sign in to comment.