which to /dev/null
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user