diff --git a/restore.sh b/restore.sh index 284f653..15d6b81 100755 --- a/restore.sh +++ b/restore.sh @@ -30,7 +30,7 @@ fi echo "=> Restore database $DB_NAME from $1" -if echo "$SQL" | mysql -h "$MYSQL_HOST" -P "$MYSQL_PORT" -u "$MYSQL_USER" -p"$MYSQL_PASS" "$DB_NAME" $MYSQL_SSL_OPTS +if echo "$SQL" | mysql -h "$MYSQL_HOST" -P "$MYSQL_PORT" -u "$MYSQL_USER" -p"$MYSQL_PASS" $MYSQL_SSL_OPTS "$DB_NAME" then echo "=> Restore succeeded" else