From 56c093004c2824f8e19652df6483ca3e97effeb3 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Mon, 14 Jul 2025 19:16:26 +0900 Subject: [PATCH] style(shell-completion): add missing semicolons --- shell-completion/bash/bootctl | 2 +- shell-completion/bash/systemd-analyze | 6 +++--- shell-completion/bash/systemd-creds | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index 708eb5b4ae3..49b013176d7 100644 --- a/shell-completion/bash/bootctl +++ b/shell-completion/bash/bootctl @@ -25,7 +25,7 @@ __contains_word () { } __get_entry_ids() { - bootctl --no-pager list 2>/dev/null | { while read -r a b; do [[ $a == 'id:' ]] && echo " $b"; done } + bootctl --no-pager list 2>/dev/null | { while read -r a b; do [[ $a == 'id:' ]] && echo " $b"; done; } } _bootctl() { diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index 6e8f3296d7d..060bc51d810 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -35,12 +35,12 @@ __get_machines() { __get_units_all() { systemctl list-units --no-legend --no-pager --plain --all $1 | \ - { while read -r a b c; do echo " $a"; done } + { while read -r a b c; do echo " $a"; done; } } __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() { @@ -53,7 +53,7 @@ __get_syscall_sets() { } __get_architectures() { - systemd-analyze --no-legend --no-pager architectures | { while read -r a b; do echo " $a"; done } + systemd-analyze --no-legend --no-pager architectures | { while read -r a b; do echo " $a"; done; } } _systemd_analyze() { diff --git a/shell-completion/bash/systemd-creds b/shell-completion/bash/systemd-creds index 3142954625b..51b9db0d686 100644 --- a/shell-completion/bash/systemd-creds +++ b/shell-completion/bash/systemd-creds @@ -27,14 +27,14 @@ __contains_word() { __get_tpm2_devices() { local a b c systemd-creds --no-legend --quiet --tpm2-device=list 2>/dev/null | \ - { while read -r a b c; do echo " $a"; done } + { while read -r a b c; do echo " $a"; done; } } __get_creds() { local a b c local mode=$1; shift 1 systemd-creds list $mode --no-legend --no-pager $1 2>/dev/null | \ - { while read -r a b c; do echo " $a"; done } + { while read -r a b c; do echo " $a"; done; } } _systemd_creds() {