mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[git-tools] do not display stderr
This commit is contained in:
parent
e3ebdbd79b
commit
8091e31666
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue