Commit 38ec7b33 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor (tiny) reorg so that error printf has all its variables defined.

parent 4a309126
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -143,6 +143,10 @@ foreach my $node (@nodes) {
if (! TBIsNodeVirtual($node, \$jailed)) {
next;
}
if (! TBPhysNodeID($node, \$pnode)) {
die("*** $0:\n".
" No physical node for $node!\n");
}
if (!TBIsNodeRemote($node) && !$force) {
#
# A local vnode. If the experiment is activating, then the
......@@ -156,10 +160,6 @@ foreach my $node (@nodes) {
next;
}
}
if (! TBPhysNodeID($node, \$pnode)) {
die("*** $0:\n".
" No physical node for $node!\n");
}
#
# When setting up a vnode, force its event state into SHUTDOWN since
......
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