From 702372f6c5c2ef8db0324df4eb83d9aee1eaebc3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 31 Dec 2015 18:02:54 +0500 Subject: Fix wrong format used in the recent python exit code commit --- source/creator/creator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/creator') diff --git a/source/creator/creator.c b/source/creator/creator.c index b947d55d2ff..ca8a9f8760d 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -1377,7 +1377,7 @@ static int run_python_file(int argc, const char **argv, void *data) bool ok; BPY_CTX_SETUP(ok = BPY_execute_filepath(C, filename, NULL)); if (!ok && python_exit_code_on_error) { - printf("\nError: script failed, file: '%s', exiting.\n", argv[1], python_exit_code_on_error); + printf("\nError: script failed, file: '%s', exiting with code %d.\n", argv[1], python_exit_code_on_error); exit(python_exit_code_on_error); } return 1; -- cgit v1.2.3