21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-01 08:20:49 +02:00

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:
Colin Darie 2018-08-29 16:47:51 +02:00
parent cedcc08f34
commit 70530727ca
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -44,7 +44,7 @@ class SystemCommand
SystemCommandResult.new(
syscmd,
status.exitstatus,
status.exitstatus || 255,
stdout.read.strip,
stderr.read.strip,
)