Bug 16052: prepare-ChangeLog doesn't report deleted files
[WebKit-https.git] / WebKitTools / Scripts / prepare-ChangeLog
index 2b3bd7e9e80d0684fb810b4f4ef4b8da463f8221..4807efd4acbd3e0df6668b64e90e5bc389e8e2dc 100755 (executable)
@@ -137,7 +137,7 @@ my $didChangeRegressionTests = 0;
 
 generateFileList(@changed_files, @conflict_files, %function_lists);
 
-if (!@changed_files && !@conflict_files || !%function_lists) {
+if (!@changed_files && !@conflict_files && !keys %function_lists) {
     print STDERR "  No changes found.\n";
     exit 1;
 }