which -> null
This commit is contained in:
@@ -191,7 +191,7 @@ check_running() {
|
||||
|
||||
DOCKERD_STATUS="0";
|
||||
|
||||
which systemctl > /dev/null;
|
||||
which systemctl 2> /dev/null;
|
||||
|
||||
if [ "$?" == "0" ]; then
|
||||
DOCKERD_STATUS=$($SUDO_CMD systemctl status docker | grep running | wc -l)
|
||||
|
Reference in New Issue
Block a user