shell_command: return False if an exception is raised
Signed-off- by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
1 parent
d41c1c4c00
commit
8678e25427
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user