Commit a070e24f authored by Mike Hibler's avatar Mike Hibler

Remove out tmp file before fetching the configs, otherwise the fetch will fail.

parent 08094755
#!/usr/bin/perl
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005 University of Utah and the Flux Group.
# Copyright (c) 2005, 2006 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -41,6 +41,7 @@ my $datestr = "$year-$mon-$mday";
#
# Back up each switch in turn
#
unlink $TMPFILE;
foreach my $switch (@ARGV) {
system "$GRAB $switch $TMPFILE"
and die "Unable to grab config for $switch\n";
......
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