Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status 0 after IO error #83

Open
PacAnimal opened this issue Jun 17, 2014 · 0 comments
Open

Exit status 0 after IO error #83

PacAnimal opened this issue Jun 17, 2014 · 0 comments

Comments

@PacAnimal
Copy link

Unplugging the power supply of an external USB drive by mistake caused the log to show this error:
stat error: Input/output error

However, cyphertite still saved the (much smaller than last run) .ct file to the server and exited with status 0, having scanned only 124M of 38.4G.

Files scanned 57204
Total data 38.4G (5.6M/sec)
Data read 124M (18.2K/sec)
Data skipped 0B
Data compressed 122M (17.9K/sec) (98%)
Data exists 124M (18.1K/sec) (0%)
Data sent 76.7K (11B/sec)
Reduction ratio 99%
Total Time 6985.448s

I would assume correct behaviour in this case would be a non-zero exit status and not uploading the incomplete .ct file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant