Daniel Gibbs 7 yıl önce
ebeveyn
işleme
2fb2d34373

+ 2 - 2
lgsm/functions/install_logs.sh

@@ -33,8 +33,8 @@ else
 	fn_print_ok_eol_nl
 fi
 echo -ne "creating LinuxGSM log: ${lgsmlog}..."
-touch "${lgsmlog}"
-if [ $? -ne 0 ]; then
+
+if touch "${lgsmlog}"; then
 	fn_print_fail_eol_nl
 	core_exit.sh
 else

+ 1 - 1
lgsm/functions/install_ts3db.sh

@@ -15,7 +15,7 @@ fn_install_ts3db_mariadb(){
 	echo "================================="
 	sleep 0.5
 
-	if ldd "${serverfiles}/libts3db_mariadb.so" | grep "libmariadb.so.2 => not found"
+	if ldd "${serverfiles}/libts3db_mariadb.so" | grep "libmariadb.so.2 => not found"; then
 		echo "libmariadb2 not installed. Please install it first."
 		echo "exiting..."
 		exit