From 4628d595f1759f994cac8c5dae391bfbcc334fc3 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 15 Apr 2024 19:40:31 -0400 Subject: [PATCH] Ignore case on BusyBox check --- configs/shells/bash/info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/shells/bash/info.sh b/configs/shells/bash/info.sh index d2a4662..36c2d67 100644 --- a/configs/shells/bash/info.sh +++ b/configs/shells/bash/info.sh @@ -20,7 +20,7 @@ else # Linux-y things echo -e "${green}Platform:$reset_color $(uname -o) $(uname -r)" # If the `uptime` binary is *not* busybox, we can show it - if [ $(uptime -V 2>&1 | grep -c busybox) -eq 0 ]; then + if [ $(uptime -V 2>&1 | grep -ci busybox) -eq 0 ]; then echo -e "${green}Uptime:$reset_color $(uptime -p)" fi fi