From 53c3a55e07df073549ffab3df1dfaddc90fd40c9 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 13c066b..b2aa7e4 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)