Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 3e81702

Browse files
author
Mick Hellstrom
committed
Fixed TTY error in backups.
1 parent c933c8c commit 3e81702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/database

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function database_backup() {
445445

446446
mkdir -p "${WPLIB_BOX_SQL_DIR}/"
447447

448-
box container shell ${database} mysqldump -h "${DB_HOST_IP}" -u wordpress -pwordpress wordpress 2>&1 | grep -v "Warning: Using a password on the command line interface can be insecure." > ${bakfile}
448+
box container exec ${database} mysqldump -h "${DB_HOST_IP}" -u wordpress -pwordpress wordpress 2>&1 | grep -v "Warning: Using a password on the command line interface can be insecure." > ${bakfile}
449449
result="$?"
450450

451451
if [ "${result}" != "0" ]; then

0 commit comments

Comments
 (0)