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 @@ ...@@ -2,7 +2,7 @@
# #
# EMULAB-COPYRIGHT # 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. # All rights reserved.
# #
...@@ -143,6 +143,10 @@ foreach my $node (@nodes) { ...@@ -143,6 +143,10 @@ foreach my $node (@nodes) {
if (! TBIsNodeVirtual($node, \$jailed)) { if (! TBIsNodeVirtual($node, \$jailed)) {
next; next;
} }
if (! TBPhysNodeID($node, \$pnode)) {
die("*** $0:\n".
" No physical node for $node!\n");
}
if (!TBIsNodeRemote($node) && !$force) { if (!TBIsNodeRemote($node) && !$force) {
# #
# A local vnode. If the experiment is activating, then the # A local vnode. If the experiment is activating, then the
...@@ -156,10 +160,6 @@ foreach my $node (@nodes) { ...@@ -156,10 +160,6 @@ foreach my $node (@nodes) {
next; 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 # 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