change exit code
This commit is contained in:
parent
1ae88d2182
commit
53c3a55e07
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user