mirror of https://github.com/BOINC/boinc.git
create_work: error out if missing input template file
This commit is contained in:
parent
fd0fcbc95a
commit
e6ef4684ad
|
@ -420,6 +420,14 @@ int main(int argc, char** argv) {
|
|||
);
|
||||
exit(1);
|
||||
}
|
||||
} else {
|
||||
if (!use_stdin) {
|
||||
fprintf(stderr,
|
||||
"create_work: input template file %s doesn't exist\n",
|
||||
jd.wu_template_file
|
||||
);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
jd.wu.appid = app.id;
|
||||
|
|
Loading…
Reference in New Issue