Commit 9429e1c6 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix, do not make equality check if there are no patterns.

parent 4703c7f8
#!/usr/bin/perl -w
#
# Copyright (c) 2003-2017 University of Utah and the Flux Group.
# Copyright (c) 2003-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -1024,7 +1024,7 @@ sub UpdateFileFatal($$@)
}
close(FH);
PhaseSkip("No changes made")
if ($old eq $new);
if (@patterns && $old eq $new);
# Stash old copy.
BackUpFileFatal($filename);
......
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