From 5e0161a0041ee799618ff0b53f7443c5e2a9cd84 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Mon, 29 Jun 2020 20:20:17 +0300 Subject: [PATCH] [fix] sudo delete pools --- tests/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/all.sh b/tests/all.sh index 7812bc6..3377d95 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -34,7 +34,7 @@ setupPool() { PHP_VERSION=$(echo "$POOL_DIR" | grep -oP "(\d\.\d)") #Delete all active pools except www.conf: - find "$POOL_DIR" -name '*.conf' -type f -not -name 'www.conf' -exec rm -rf {} \; + sudo find "$POOL_DIR" -name '*.conf' -type f -not -name 'www.conf' -exec rm -rf {} \; #Add status path sudo sed -i 's#;pm.status_path.*#pm.status_path = /php-fpm-status#' "$POOL_FILE"