aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/tools/etc
diff options
context:
space:
mode:
Diffstat (limited to 'boca-1.5.0/tools/etc')
-rwxr-xr-xboca-1.5.0/tools/etc/icpc/becomeserver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boca-1.5.0/tools/etc/icpc/becomeserver.sh b/boca-1.5.0/tools/etc/icpc/becomeserver.sh
index 31db6db..07caccf 100755
--- a/boca-1.5.0/tools/etc/icpc/becomeserver.sh
+++ b/boca-1.5.0/tools/etc/icpc/becomeserver.sh
@@ -190,7 +190,7 @@ fi
if [ "$OK" == "y" ]; then
cd $bocadir/src
php private/createdb.php
-cd -
+cd - >/dev/null 2>/dev/null
echo "database renewed. Data on bocadb has been lost"
else
echo "*** database not erased. Check if BOCA is compatible. You can always erase the database and"