diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/emacs.c b/src/emacs.c index aed4e0d1508..2acee8e6fea 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -813,12 +813,14 @@ load_pdump (int argc, char **argv) | |||
| 813 | path_exec, DIRECTORY_SEP, argv0_base, suffix); | 813 | path_exec, DIRECTORY_SEP, argv0_base, suffix); |
| 814 | result = pdumper_load (dump_file); | 814 | result = pdumper_load (dump_file); |
| 815 | } | 815 | } |
| 816 | else | ||
| 817 | fatal ("could not load dump file \"%s\": %s", | ||
| 818 | dump_file, dump_error_to_string (result)); | ||
| 819 | 816 | ||
| 820 | if (result != PDUMPER_LOAD_SUCCESS) | 817 | if (result != PDUMPER_LOAD_SUCCESS) |
| 821 | dump_file = NULL; | 818 | { |
| 819 | if (result != PDUMPER_LOAD_FILE_NOT_FOUND) | ||
| 820 | fatal ("could not load dump file \"%s\": %s", | ||
| 821 | dump_file, dump_error_to_string (result)); | ||
| 822 | dump_file = NULL; | ||
| 823 | } | ||
| 822 | 824 | ||
| 823 | out: | 825 | out: |
| 824 | return result; | 826 | return result; |