From 344c85c4b41823072cca0e81ced41ae70e69d117 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Mon, 31 Mar 2025 12:09:16 +1030 Subject: [PATCH] fix: status-docker command if docker isnt installed --- .local/bin/status-docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"