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:
@@ -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() {
|
||||
|
@@ -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() {
|
||||
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user