Commit f6e353a7 authored by Mike Hibler's avatar Mike Hibler

more graceful failure if tmcc fails

parent abbf91e0
#!/usr/bin/perl -w #!/usr/bin/perl -w
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group. # Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
use English; use English;
...@@ -72,6 +72,9 @@ sub ntpdate() { ...@@ -72,6 +72,9 @@ sub ntpdate() {
# give the boss node's name # give the boss node's name
# #
my $bossname = tmccbossname(); my $bossname = tmccbossname();
if (!defined($bossname)) {
return (1);
}
my $ntpcmd = "$ntpdate -b -s "; my $ntpcmd = "$ntpdate -b -s ";
if (REMOTE()) { if (REMOTE()) {
$ntpcmd .= "-t 5 "; $ntpcmd .= "-t 5 ";
......
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