cluster/fence/agents/wti fence_wti.pl
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: jparsons at sourceware.org 2007-01-31 20:22:08
Modified files:
fence/agents/wti: fence_wti.pl
Log message:
fix for bz205457
fence/agents/wti/fence_wti.pl +5 -0
@@ -186,6 +186,7 @@ # at this point, failing to turn the machine back on shouldn't be a failure if (($opt_o eq "on") || ($opt_o eq "reboot")) { + sleep 5; $t->print("/on $opt_n"); ($line, $match) = $t->waitfor('/\(Y\/N\)|(TPS|IPS|RPC|NPS|NBB)\>/');
@@ -352,5 +353,9 @@ # FIXME should we do more error checking? # Excess name/vals will be eaten for now + else + { + fail "parse error: unknown option \"$opt\"\n"; + } } }