rc-status - hide error message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -184,7 +184,7 @@ check_dirs_and_files() {
|
|||||||
check_running() {
|
check_running() {
|
||||||
|
|
||||||
# Custom gentoo docker status check
|
# Custom gentoo docker status check
|
||||||
DOCKERD_STATUS=$($SUDO_CMD rc-status |grep docker |grep started | wc -l);
|
DOCKERD_STATUS=$($SUDO_CMD rc-status 2>/dev/null | grep docker | grep started | wc -l);
|
||||||
if [ "$DOCKERD_STATUS" == "0" ]; then
|
if [ "$DOCKERD_STATUS" == "0" ]; then
|
||||||
|
|
||||||
DOCKERD_STATUS=$($SUDO_CMD systemctl status docker | grep running | wc -l)
|
DOCKERD_STATUS=$($SUDO_CMD systemctl status docker | grep running | wc -l)
|
||||||
|
Reference in New Issue
Block a user