diff --git a/lgsm/functions/install_ts3db.sh b/lgsm/functions/install_ts3db.sh index b5ec4b3a9..7cfc3205f 100644 --- a/lgsm/functions/install_ts3db.sh +++ b/lgsm/functions/install_ts3db.sh @@ -14,7 +14,7 @@ fn_install_ts3db_mariadb(){ echo "checking if libmariadb2 is installed" echo "=================================" sleep 1 - ldd ${serverfiles}/libts3db_mariadb.so | grep "libmariadb.so.2 => not found" + ldd "${serverfiles}/libts3db_mariadb.so" | grep "libmariadb.so.2 => not found" if [ $? -eq 0 ]; then echo "libmariadb2 not installed. Please install it first." echo "exiting..."