Skip to content

Commit b3156e2

Browse files
authored
Merge pull request #23 from bfcoder/bf-pid-check
Fix checking convert success
2 parents afbc03c + d783334 commit b3156e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/libreconv.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def convert
8383
*command,
8484
unsetenv_others: true
8585
)
86-
unless status.success? && error == ''
86+
if !status.success?
8787
raise ConversionFailedError,
8888
"Conversion failed! Output: #{output.strip.inspect}, " \
8989
"Error: #{error.strip.inspect}"

0 commit comments

Comments
 (0)