Commit a2dbc0d8 authored by Leigh B. Stoller's avatar Leigh B. Stoller

One character fix to previous revision.

parent 249efdee
......@@ -169,7 +169,7 @@ my $userdir = $experiment->UserDir();
# See if this is a template instance; error if the -x option not provided,
# since that means user is trying to self-terminate; not in the program.
#
if (my $instance = Template::Instance->LookupByExptidx($experiment->idx()))
if (my $instance = Template::Instance->LookupByExptidx($experiment->idx())) {
if (! $template_mode) {
die("*** $0:\n".
" $pid/$eid is a template instance; use another command\n");
......
......@@ -289,7 +289,7 @@ my $userdir = $experiment->UserDir();
# See if this is a template instance; error if the -x option not provided,
# since that means user is trying to self-terminate; not in the program.
#
if (my $instance = Template::Instance->LookupByExptidx($experiment->idx()))
if (my $instance = Template::Instance->LookupByExptidx($experiment->idx())) {
if (! $template_mode) {
die("*** $0:\n".
" $pid/$eid is a template instance; use another command\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment