From 77aeac1761be99fc4368c0b6b4f0eae9e08762ed Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 14 Dec 2020 22:33:39 +0530 Subject: [PATCH] Fix logging in add_pdo_extension in linux.sh --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 6cedcb42..d4f76133 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -82,7 +82,7 @@ add_pdo_extension() { ext=$1 ext_name=$1 sudo rm -rf "$scan_dir"/*pdo.ini >/dev/null 2>&1 - if ! check_extension "pdo" 2>/dev/null; then echo "extension=pdo.so" | sudo tee -a "${ini_file[@]}"; fi + if ! check_extension "pdo" 2>/dev/null; then echo "extension=pdo.so" | sudo tee -a "${ini_file[@]}" >/dev/null 2>&1; fi if [ "$ext" = "mysql" ]; then enable_extension "mysqlnd" "extension" ext_name="mysqli"