mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[git-tools] do not display stderr
This commit is contained in:
@@ -53,7 +53,7 @@ do
|
||||
|
||||
# check the staged file content for syntax errors
|
||||
# using php -l (lint)
|
||||
result=$(git cat-file -p $sha | /usr/bin/env $PHP_BIN -l)
|
||||
result=$(git cat-file -p $sha | /usr/bin/env $PHP_BIN -l 2>/dev/null)
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
error=1
|
||||
|
Reference in New Issue
Block a user