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

Tweak program to insure output file gets removed.

parent fceff59f
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ if {$matches != 1} {
set exit_code 1
}
exec $bin_rm -f $file_in
exec $bin_rm -f $file_in $file_out
exec echo "#!$bin_bash" >$file_in
exec echo "#SLURM -N650000" >>$file_in
exec echo "$bin_sleep $delay" >>$file_in
......@@ -108,8 +108,8 @@ expect {
# Post-processing
#
if {$exit_code == 0} {
exec $bin_rm -f $file_in
exec $bin_rm -f $file_out
wait_for_file $file_out
exec $bin_rm -f $file_in $file_out
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