From 8620f3819787ce8958d143d6cde775a0687bdf04 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 18 Sep 2019 12:21:10 -0300 Subject: [PATCH] fix: not showing error when Snap downgrade does not work --- bauh/commons/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/commons/system.py b/bauh/commons/system.py index 2e9f8a58..4750777a 100644 --- a/bauh/commons/system.py +++ b/bauh/commons/system.py @@ -73,7 +73,7 @@ class ProcessHandler: if process.wrong_error_phrase and process.wrong_error_phrase in line: continue else: - break + return False return process.subproc.returncode is None or process.subproc.returncode == 0