[Fusionforge-commits] r12600 - trunk/tests/func

Christian Bayle cbayle at fusionforge.org
Mon Mar 7 19:35:47 CET 2011


Author: cbayle
Date: 2011-03-07 19:35:46 +0100 (Mon, 07 Mar 2011)
New Revision: 12600

Modified:
   trunk/tests/func/db_reload.sh
Log:
don't display stderr


Modified: trunk/tests/func/db_reload.sh
===================================================================
--- trunk/tests/func/db_reload.sh	2011-03-07 18:35:34 UTC (rev 12599)
+++ trunk/tests/func/db_reload.sh	2011-03-07 18:35:46 UTC (rev 12600)
@@ -2,7 +2,7 @@
 [ $# -eq 1 ] || exit 1
 
 echo "Cleaning up the database"
-if type invoke-rc.d 
+if type invoke-rc.d 2>/dev/null
 then
 	invoke-rc.d apache2 stop
 else
@@ -14,7 +14,7 @@
 echo "Executing: pg_restore -C -d template1 < /root/dump"
 su - postgres -c "pg_restore -C -d template1" < /root/dump
 
-if type invoke-rc.d 
+if type invoke-rc.d 2>/dev/null
 then
 	invoke-rc.d apache2 start
 else




More information about the Fusionforge-commits mailing list