Commit 011003f4 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add a debugging printf.

parent bb089c4c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group. # Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -391,6 +391,8 @@ while ($tries) { ...@@ -391,6 +391,8 @@ while ($tries) {
system("$osselect -t $ADMINOSID $node") and system("$osselect -t $ADMINOSID $node") and
fatal("*** Failed to set temp boot to $ADMINOSID for $node!"); fatal("*** Failed to set temp boot to $ADMINOSID for $node!");
print "Setting startupcmd to '${command}'\n";
if (! DBQueryWarn("update nodes set ". if (! DBQueryWarn("update nodes set ".
"startupcmd='$command', startstatus='none' ". "startupcmd='$command', startstatus='none' ".
"where node_id='$node'")) { "where node_id='$node'")) {
......
Supports Markdown
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