diff --git a/.local/bin/status-docker b/.local/bin/status-docker index 3ee6b76..73b3219 100755 --- a/.local/bin/status-docker +++ b/.local/bin/status-docker @@ -1,3 +1,3 @@ #!/bin/bash -docker ps -q | wc -l +command -v docker >/dev/null && docker ps -q | wc -l || echo "0"