Makefile: ignore perl/ subdirectory under NO_PERL
[gitweb.git] / git-difftool.perl
index 948ff7f6fd2dacc41f10b2b92f6ad752001ea3be..bd828c2a6f9f596ada637bc37afabe97bbb47e26 100755 (executable)
@@ -82,4 +82,5 @@ sub generate_command
 }
 
 setup_environment();
-exec(generate_command());
+my $rc = system(generate_command());
+exit($rc | ($rc >> 8));