sctp: fix the issue sctp_diag uses lock_sock in rcu_read_lock
[deliverable/linux.git] / scripts / get_maintainer.pl
index 49a00d54b835f156745c27bfb12b1f64bcf9140c..aed4511f0304e4922ff6770a3d573777b4f235ed 100755 (executable)
@@ -2136,9 +2136,11 @@ sub vcs_file_exists {
 
     my $cmd = $VCS_cmds{"file_exists_cmd"};
     $cmd =~ s/(\$\w+)/$1/eeg;          # interpolate $cmd
-
+    $cmd .= " 2>&1";
     $exists = &{$VCS_cmds{"execute_cmd"}}($cmd);
 
+    return 0 if ($? != 0);
+
     return $exists;
 }
 
This page took 0.02336 seconds and 5 git commands to generate.