which to /dev/null

This commit is contained in:
2024-01-08 11:54:12 +00:00
parent 88eaea2a26
commit dc3b365dfe

View File

@@ -185,7 +185,7 @@ check_running() {
DOCKERD_STATUS="0";
which systemctl;
which systemctl > /dev/null;
if [ "$?" == "0" ]; then
DOCKERD_STATUS=$($SUDO_CMD systemctl status docker | grep running | wc -l)