Commit 7ec8c1d9 authored by Leigh Stoller's avatar Leigh Stoller

Make -f (force option) actually force.

parent 90a392f3
#!/usr/bin/perl -wT #!/usr/bin/perl -wT
# #
# Copyright (c) 2000-2013 University of Utah and the Flux Group. # Copyright (c) 2000-2013, 2018 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -361,7 +361,7 @@ else { ...@@ -361,7 +361,7 @@ else {
"Experiment $pid/$eid went into transition at ". "Experiment $pid/$eid went into transition at ".
"$expt_locked!\n". "$expt_locked!\n".
"You must wait until it is no longer in transition.\n") "You must wait until it is no longer in transition.\n")
if (defined($expt_locked)); if (defined($expt_locked) && !$force);
# #
# Okay, check state. We do not allow termination to start when the # Okay, check state. We do not allow termination to start when the
......
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