Commit 8f42c810 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Allow swapin of a template instance as a means of cleaning things up

after a swapmod goes haywire.
parent c3791c03
......@@ -291,7 +291,7 @@ my $userdir = $experiment->UserDir();
# since that means user is trying to self-terminate; not in the program.
if (my $instance = Template::Instance->LookupByExptidx($experiment->idx())) {
if (! $template_mode) {
if ($inout ne "in" && !$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