Skip to content
Snippets Groups Projects
Verified Commit 59267e8b authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

exit with 2 instead of 1 in case of ENOSPC

parent f7b41dd5
No related branches found
Tags debian/4.10.0-2
No related merge requests found
Pipeline #76137 passed
......@@ -734,7 +734,7 @@ def main(args=None):
if e.errno != errno.ENOSPC:
raise
logger.error('No space left on device. Diffoscope exiting.')
sys.exit(1)
sys.exit(2)
except KeyboardInterrupt:
logger.error('Keyboard Interrupt')
sys.exit(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment