From 0a69353385d10b3557c75bd068c2733eef5daa92 Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 4 May 2017 15:30:55 +0200 Subject: [PATCH] Avoid at init_mano_db.sh prompt user for confirmation with option --createdb Change-Id: I27da12899ac6d2d85a2652d2197f3845adc345ce Signed-off-by: tierno --- database_utils/init_mano_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database_utils/init_mano_db.sh b/database_utils/init_mano_db.sh index cee0fe86..29a3ed06 100755 --- a/database_utils/init_mano_db.sh +++ b/database_utils/init_mano_db.sh @@ -128,7 +128,7 @@ if [ -n "${CREATEDB}" ] ; then echo done # echo " deleting previous database ${DBNAME} if it exists" - mysqladmin $DEF_EXTRA_FILE_PARAM DROP "${DBNAME}" ${QUIET_MODE/q/f} && echo "Previous database deleted" + mysqladmin $DEF_EXTRA_FILE_PARAM DROP "${DBNAME}" -f && echo "Previous database deleted" echo " creating database ${DBNAME}" mysqladmin $DEF_EXTRA_FILE_PARAM create "${DBNAME}" || exit 1 fi -- 2.25.1