[Git][reproducible-builds/diffoscope][master] exit with 2 instead of 1 in case of ENOSPC

Mattia Rizzolo gitlab at salsa.debian.org
Fri Oct 4 13:42:37 UTC 2019



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope


Commits:
59267e8b by Mattia Rizzolo at 2019-10-04T13:42:11Z
exit with 2 instead of 1 in case of ENOSPC

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- diffoscope/main.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -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)



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/59267e8b3156f9a17bdff4cc02cf6ca37071083a

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/59267e8b3156f9a17bdff4cc02cf6ca37071083a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20191004/0e157487/attachment.html>


More information about the rb-commits mailing list