]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
style(shell-completion): add missing semicolons
authorEisuke Kawashima <e-kwsm@users.noreply.github.com>
Mon, 14 Jul 2025 10:16:26 +0000 (19:16 +0900)
committerEisuke Kawashima <e-kwsm@users.noreply.github.com>
Mon, 14 Jul 2025 11:24:25 +0000 (20:24 +0900)
shell-completion/bash/bootctl
shell-completion/bash/systemd-analyze
shell-completion/bash/systemd-creds

index 708eb5b4ae3eadc7b9736b3cab25d941adfd0612..49b013176d7ab2a01fd56e71ae16730938823145 100644 (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() {
index 6e8f3296d7dbcd7df1f27200b17288613238a1ed..060bc51d81010118b0dfd0b66c3f67186f3a010e 100644 (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() {
index 3142954625b3d280017a4d123194f75c73afa309..51b9db0d686a73c936422f89c065204389c29dbf 100644 (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() {