mirror of https://github.com/Evolix/chexpire.git
SystemCommand: Added an explicit 255 status code when system didn't got the exit status (because of segfault, …)
Avoid silent errors.
This commit is contained in:
parent
cedcc08f34
commit
70530727ca
|
@ -44,7 +44,7 @@ class SystemCommand
|
|||
|
||||
SystemCommandResult.new(
|
||||
syscmd,
|
||||
status.exitstatus,
|
||||
status.exitstatus || 255,
|
||||
stdout.read.strip,
|
||||
stderr.read.strip,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue