summaryrefslogtreecommitdiff
path: root/runner/resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'runner/resume.c')
-rw-r--r--runner/resume.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/runner/resume.c b/runner/resume.c
index d5a20e808..f5d69e218 100644
--- a/runner/resume.c
+++ b/runner/resume.c
@@ -28,11 +28,12 @@ int main(int argc, char **argv)
if ((dirfd = open(argv[1], O_RDONLY | O_DIRECTORY)) < 0) {
fprintf(stderr, "Failure opening %s: %s\n", argv[1], strerror(errno));
- return 1;
+ return 127;
}
if (!initialize_execute_state_from_resume(dirfd, &state, &settings, &job_list)) {
- return 1;
+ fprintf(stderr, "Failure reading metadata in %s\n", argv[1]);
+ return 127;
}
if (!execute(&state, &settings, &job_list)) {