mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
fix(shell-completion): correct conditional
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user