aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-26 12:26:46 -0700
committerelijah <elijah@riseup.net>2013-06-26 12:26:46 -0700
commite202826340c3293d4cb2a8900cbbd628bc1b9289 (patch)
treedbef252564f37ae2af1b0ab9465d884663a38711 /lib
parentfd50b3c7117b6d462bf581c02f75582469c57f03 (diff)
downloadleap_cli-e202826340c3293d4cb2a8900cbbd628bc1b9289.tar.gz
leap_cli-e202826340c3293d4cb2a8900cbbd628bc1b9289.tar.bz2
print a nice 'ok' when a host is alive.
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/remote/leap_plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb
index 8cc96d4..f5bf490 100644
--- a/lib/leap_cli/remote/leap_plugin.rb
+++ b/lib/leap_cli/remote/leap_plugin.rb
@@ -25,7 +25,7 @@ module LeapCli; module Remote; module LeapPlugin
begin
test_initialized_file = "test -f #{INITIALIZED_FILE}"
check_required_packages = "! dpkg-query -W --showformat='${Status}\n' #{required_packages} 2>&1 | grep -q -E '(deinstall|no packages)'"
- run "#{test_initialized_file} && #{check_required_packages}"
+ run "#{test_initialized_file} && #{check_required_packages} && echo ok"
rescue Capistrano::CommandError => exc
LeapCli::Util.bail! do
exc.hosts.each do |host|