Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 4ae2cf0

Browse files
committed
build fix
1 parent 346e36d commit 4ae2cf0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dist/devilbox-cli.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,10 @@ mysql_command() {
474474
return "$KO_CODE"
475475
fi
476476

477-
if [ -z "$@" ]; then
477+
if [ -z "$1" ]; then
478478
exec_command 'mysql -hmysql -uroot'
479479
else
480-
exec_command 'mysql -hmysql -uroot -e "$@"'
480+
exec_command "mysql -hmysql -uroot -e '$1'"
481481
fi
482482
}
483483

0 commit comments

Comments
 (0)