diff --git a/utils/backupswitches.in b/utils/backupswitches.in index 5651e5727c603c1c677f416e6b514fe011eba585..19ca1736c7846ee85de0983211790bca051aac24 100644 --- a/utils/backupswitches.in +++ b/utils/backupswitches.in @@ -1,7 +1,7 @@ #!/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";