shell_command: return False if an exception is raised

Signed-off- by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine committed 2020-11-29 06:36:34 -05:00
1 parent d41c1c4c00
commit 8678e25427
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ class ShellCommand:
except Exception:
logging.exception(
f"shell_command: Command ({self.name}) failed")
return
return False
if verbose:
fd = proc.stdout.fileno()
self.io_loop.add_handler(