Skip to content
Snippets Groups Projects
Commit 7bddef2f authored by Moe Jette's avatar Moe Jette
Browse files

Don't purge input file until successful completion.

parent 28051bf6
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,6 @@ if {$job_id == 0} {
send_user "\nFAILURE: batch submit failure\n"
exit 1
}
exec $bin_rm -f $file_in
if {[wait_for_job $job_id RUNNING] != 0} {
send_user "\nFAILURE: error on job\n"
......@@ -128,6 +127,7 @@ if {$matches != 1} {
}
if {$exit_code == 0} {
exec rm -f $file_in
send_user "\nSUCCESS\n"
}
exit $exit_code
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment