Correct last commit, use WM_exit

Without this temp directory isn't removed.
This commit is contained in:
Campbell Barton 2017-10-20 00:19:58 +11:00
parent 9ee8319cd5
commit 465b6333cc

@ -1775,7 +1775,8 @@ static int arg_handle_load_file(int UNUSED(argc), const char **argv, void *data)
}
else {
printf("Error: argument has no '.blend' file extension, not using as new file, exiting! %s\n", filename);
exit(1);
G.is_break = true;
WM_exit(C);
}
}