Loading checkservices +34 −33 Original line number Diff line number Diff line Loading @@ -166,8 +166,8 @@ for svc in "${needy[@]}"; do done (( "${#needy[*]}" )) && echo '-------8<-------------------------------8<---------' # if nothing to restart we have done (( $restart == 0 || ${#needy[*]} == 0 )) && exit 0 # start the dangerous action below if ! (( $restart == 0 || ${#needy[*]} == 0 )); then # wait the timeout (( $timeout > 0 )) && { Loading Loading @@ -204,6 +204,7 @@ if in_array dbus.service "${needy[@]}"; then exec "$0" "$@" fi fi fi (( $failed )) && systemctl --failed --all --no-pager --no-legend --full list-units Loading Loading
checkservices +34 −33 Original line number Diff line number Diff line Loading @@ -166,8 +166,8 @@ for svc in "${needy[@]}"; do done (( "${#needy[*]}" )) && echo '-------8<-------------------------------8<---------' # if nothing to restart we have done (( $restart == 0 || ${#needy[*]} == 0 )) && exit 0 # start the dangerous action below if ! (( $restart == 0 || ${#needy[*]} == 0 )); then # wait the timeout (( $timeout > 0 )) && { Loading Loading @@ -204,6 +204,7 @@ if in_array dbus.service "${needy[@]}"; then exec "$0" "$@" fi fi fi (( $failed )) && systemctl --failed --all --no-pager --no-legend --full list-units Loading