Unverified Commit 59267e8b authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

exit with 2 instead of 1 in case of ENOSPC

parent f7b41dd5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)