change exit code
This commit is contained in:
parent
b83a400732
commit
2122627fdf
@ -10,7 +10,7 @@ settings_map = {
|
|||||||
|
|
||||||
from os import makedirs
|
from os import makedirs
|
||||||
|
|
||||||
def error(*args, exitcode=1, **kwargs):
|
def error(*args, exitcode=2, **kwargs):
|
||||||
print("\033[31mError: \033[0m", *args, **kwargs)
|
print("\033[31mError: \033[0m", *args, **kwargs)
|
||||||
exit(exitcode)
|
exit(exitcode)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user