diff --git a/app/services/system_command.rb b/app/services/system_command.rb index 04b1957..52dfdc9 100644 --- a/app/services/system_command.rb +++ b/app/services/system_command.rb @@ -44,7 +44,7 @@ class SystemCommand SystemCommandResult.new( syscmd, - status.exitstatus, + status.exitstatus || 255, stdout.read.strip, stderr.read.strip, )