[sysadmin-bin] Send command output to /dev/null



commit c095dafae47ddb45efe6b019dcb6dacfd8ddc453
Author: Andrea Veri <av gnome org>
Date:   Wed Nov 20 01:01:28 2013 +0100

    Send command output to /dev/null

 git/pre-receive-check-po |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/pre-receive-check-po b/git/pre-receive-check-po
index 5d5098d..743fa01 100755
--- a/git/pre-receive-check-po
+++ b/git/pre-receive-check-po
@@ -128,7 +128,7 @@ GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
 
 # Don't check for .po files when check_po is set to 
 # false on the repository's config file 
-check_po=$(git config hooks.checkpo || echo true)
+check_po=$(git config hooks.checkpo 2>/dev/null || echo true)
 
 if [ "$checkpo" != "true" ] ; then  
     exit 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]