diff --git a/net/nut/files/nut-service.sh.functions b/net/nut/files/nut-service.sh.functions index fda69ce608..7ca0da4f15 100644 --- a/net/nut/files/nut-service.sh.functions +++ b/net/nut/files/nut-service.sh.functions @@ -210,7 +210,6 @@ find_statepath() { local nut_value_via_foreach="" find_foreach_value "$section_type" "$package" statepath "$NUT_BASE_STATEPATH" || return 1 - [ -n "$nut_value_via_foreach" ] || nut_value_via_foreach="$NUT_BASE_STATEPATH" # shellcheck disable=2034 STATEPATH="$nut_value_via_foreach" @@ -299,7 +298,7 @@ interface_triggers() { for interface in $interfaces; do # We use the variadic third and fourth parameters of procd_add_interface_trigger to # restart instead of reload on interface up/down events. Additionally the variadic - # fifth and parameters of procd_add_interface_trigger are passed through to + # fifth and following parameters of procd_add_interface_trigger are passed through to # the