1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[git-tools] do not display stderr

This commit is contained in:
Igor Wiedler
2010-04-03 21:53:09 +02:00
parent e3ebdbd79b
commit 8091e31666

View File

@@ -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