Return exit code

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-10-25 19:01:53 +03:00
parent bab2af3a26
commit ec78e702ea
2 changed files with 2 additions and 0 deletions

View file

@ -155,6 +155,7 @@ class BinaryInstall(object):
delete_package(self.tmp_path, self.dep_install + self.install)
else:
self.msg.not_found(self.is_upgrade)
raise SystemExit(1)
def if_all_installed(self):
"""Check if all packages is already installed

View file

@ -150,6 +150,7 @@ class SBoInstall(object):
self.continue_to_install()
else:
self.msg.not_found(self.is_upgrade)
raise SystemExit(1)
def case_insensitive(self):
"""Matching packages distinguish between uppercase and