Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-12-31 16:02:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-12-31 16:02:54 +0300
commit702372f6c5c2ef8db0324df4eb83d9aee1eaebc3 (patch)
tree12da6094f6d577156c69ff258a46386a20440668 /source/creator
parent619946253e5f2dbad8b4a564d3d489ce40eb9de2 (diff)
Fix wrong format used in the recent python exit code commit
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c2
1 files changed, 1 insertions, 1 deletions
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;