Skip to content

Commit ab13f15

Browse files
committed
check-user-slice-on-shutdown: use systemd-cgls with option --full
fixes #16
1 parent 8d5a87b commit ab13f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/libexec/usability-misc/check-user-slice-on-shutdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ printf '%s\n' "$0: INFO: Start."
1616
counter=0
1717
while (( counter < 10 )); do
1818
light_sleep 1
19-
systemd_cgls_output="$(systemd-cgls --no-pager --unit user.slice)"
19+
systemd_cgls_output="$(systemd-cgls --no-pager --full --unit user.slice)"
2020
if [ "$(wc -l <<< "$systemd_cgls_output")" == '1' ]; then
2121
printf '%s\n' "$0: INFO: End. OK."
2222
exit 0

0 commit comments

Comments
 (0)