From 43f6f5c27a98af7ab8fcfba79eb9710155c84b7a Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 14 Aug 2020 16:45:28 -0400 Subject: [PATCH] send service status to /dev/null to prevent FP on install failure --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 773f634cf..c2b9b9fff 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -233,7 +233,7 @@ check_service_status() { local service_name=$1 echo "Checking service $service_name status" >> "$setup_log" 2>&1 - systemctl status $service_name >> "$setup_log" 2>&1 + systemctl status $service_name > /dev/null 2>&1 local status=$? #true if there is an issue with the service false if it is running properly if [ $status -gt 0 ]; then