rss2i.py: Make sure to return a non-zero exit status when the command fails
We finally closed #20 (closed). However, it seems that the return/exit status is not always non zero, even in the case an error occurred.
As an example:
[27]
dev 27 |===============|100% 395kB 43.9kB/s 09s eta 00s rss2i: [Error] [16:45:06] A Error ocuured while decoding the received data: [MissingPages('There were less than four sheets per result.')]
rss2i: [Error] [16:45:06] Error while downloading from device #27
However, the exit status was 0
.
Returning a proper exit status was originally introduced with 4647c6c8. Why doesn't it work properly anymore?