send service status to /dev/null to prevent FP on install failure

This commit is contained in:
m0duspwnens committed 2020-08-14 16:45:28 -04:00
1 parent 51cbccad09
commit 43f6f5c27a
1 file changed
+1 -1
+1 -1
View File
@@ -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