From: Eisuke Kawashima Date: Mon, 14 Jul 2025 10:17:53 +0000 (+0900) Subject: fix(shell-completion): correct conditional X-Git-Tag: v258-rc1~57^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2e0dc4f56b70bd42ec16043fd733a0ba4d687f;p=thirdparty%2Fsystemd.git fix(shell-completion): correct conditional --- diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index e7844f92d9e..d9861848848 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -40,7 +40,7 @@ __get_units_all() { __get_services() { systemctl list-units --no-legend --no-pager --plain -t service --all $1 | - { while read -r a b c; do [[ $b == "loaded" ]]; echo " $a"; done; } + { while read -r a b c; do [[ $b == "loaded" ]] && echo " $a"; done; } } __get_syscall_sets() {