__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() {
}
__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() {
__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() {