Commit f3a48778 authored by Seblu's avatar Seblu
Browse files

checkservices: display failed at the very end

parent 3ebc61a3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -195,8 +195,6 @@ if (( $serialize == 0 )) && (( $status )); then
	systemctl --lines=0 status "${needy[@]}"
fi

(( $failed )) && systemctl --failed --all --no-pager --no-legend --full list-units

# warn if dbus was restart
if in_array dbus.service "${needy[@]}"; then
	echo "${c_warn}After dbus restart, you should run ${0##*/} twice${c_rst}" >&2
@@ -207,4 +205,6 @@ if in_array dbus.service "${needy[@]}"; then
	fi
fi

(( $failed )) && systemctl --failed --all --no-pager --no-legend --full list-units

exit 0