.exitstatus alone won't tell you about the signal received.
---
lib/dtas/source/sox.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dtas/source/sox.rb b/lib/dtas/source/sox.rb
index 6ca29bc..c03477e 100644
--- a/lib/dtas/source/sox.rb
+++ b/lib/dtas/source/sox.rb
@@ -24,7 +24,7 @@ def soxi_failed(infile, msg)
return if @last_failed == infile
@last_failed = infile
case msg
- when Process::Status then msg = "failed with #{msg.exitstatus}"
+ when Process::Status then msg = "failed with #{msg.inspect}"
when 0 then msg = 'detected zero samples'
end
warn("soxi #{infile}: #{msg}\n")