Commit 59267e8b authored by Mattia Rizzolo's avatar Mattia Rizzolo

exit with 2 instead of 1 in case of ENOSPC

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent f7b41dd5
Pipeline #76137 passed with stage
in 20 minutes and 12 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment