1
0
mirror of https://github.com/systemd/systemd.git synced 2025-10-22 19:33:52 +03:00

style(shell-completion): add missing semicolons

This commit is contained in:
Eisuke Kawashima
2025-07-14 19:16:26 +09:00
parent dfe6b3fa38
commit 56c093004c
3 changed files with 6 additions and 6 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {