Merge tag '5.14-rc-smb3-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6
[linux-2.6-microblaze.git] / scripts / documentation-file-ref-check
index c71832b..7187ea5 100755 (executable)
@@ -24,7 +24,7 @@ my $help = 0;
 my $fix = 0;
 my $warn = 0;
 
-if (! -d ".git") {
+if (! -e ".git") {
        printf "Warning: can't check if file exists, as this is not a git tree\n";
        exit 0;
 }