This commit is contained in:
parent
38760d5553
commit
8147f1a684
@ -56,13 +56,12 @@ def isSecurityUpgrade(pkg, depcache):
|
||||
return False
|
||||
|
||||
def main():
|
||||
ret = -1
|
||||
try:
|
||||
pkgs = get_updates()
|
||||
ret = len(pkgs)
|
||||
print(len(pkgs))
|
||||
except Exception as e:
|
||||
print(f"{e}", file=sys.stderr)
|
||||
print(ret)
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user