diff options
-rw-r--r-- | lib/leap_cli/remote/leap_plugin.rb | 2 |
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| |