diff options
author | Daniel Black <daniel@mariadb.org> | 2022-12-15 08:48:34 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2022-12-15 08:48:48 +1100 |
commit | 97c6cd979843c44776bc7506b53773e1d200ce92 (patch) | |
tree | 333de167aaaf136c306f35ebfe39d6400892cf70 | |
parent | 0f351b620a610055c9323269ecb8411291de6f5f (diff) | |
download | mariadb-git-97c6cd979843c44776bc7506b53773e1d200ce92.tar.gz |
Deb: debian-start.inc - do not quote exe variables
-rwxr-xr-x | debian/additions/debian-start.inc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/additions/debian-start.inc.sh b/debian/additions/debian-start.inc.sh index 8a59f877aca..74340e78480 100755 --- a/debian/additions/debian-start.inc.sh +++ b/debian/additions/debian-start.inc.sh @@ -27,7 +27,7 @@ function check_for_crashed_tables() { select concat('\''select count(*) into @discard from `'\'', TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'') from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )' | \ - xargs -i "${MARIADB}" --skip-column-names --silent --batch \ + xargs -i ${MARIADB} --skip-column-names --silent --batch \ --force -e "{}" &>"${tempfile}" set -e @@ -72,7 +72,7 @@ function check_root_accounts() { logger -p daemon.info -i -t"$0" "Checking for insecure root accounts." - ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | "$MARIADB" --skip-column-names ) + ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | $MARIADB --skip-column-names ) if [ "$ret" -ne "0" ]; then logger -p daemon.warn -i -t"$0" "WARNING: mysql.user contains $ret root accounts without password!" fi |