Skip to content

Commit

Permalink
Merge branch 'pr-35'
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxboron committed Apr 17, 2021
2 parents 1c86e0c + 8ca311b commit 6477363
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin/checkservices
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ shopt -s xpg_echo
unset GREP_OPTIONS

# systemd cgroup path
SYSTEMD_CGROUP_BASE_PATH='/sys/fs/cgroup/systemd'
if [[ -d /sys/fs/cgroup/systemd ]]; then
SYSTEMD_CGROUP_BASE_PATH='/sys/fs/cgroup/systemd'
else
SYSTEMD_CGROUP_BASE_PATH='/sys/fs/cgroup'
fi

# colors
if [[ -t 1 ]]; then
Expand Down

0 comments on commit 6477363

Please sign in to comment.