From 2122627fdfb9cf873e8a3f179e6a3ee4a1402262 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Wed, 7 Feb 2024 11:16:53 +0100 Subject: [PATCH] change exit code --- imgsort/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgsort/globals.py b/imgsort/globals.py index 94f29b4..e8c8d3d 100644 --- a/imgsort/globals.py +++ b/imgsort/globals.py @@ -10,7 +10,7 @@ settings_map = { from os import makedirs -def error(*args, exitcode=1, **kwargs): +def error(*args, exitcode=2, **kwargs): print("\033[31mError: \033[0m", *args, **kwargs) exit(exitcode)