Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Oct 23, 2024
1 parent 236e009 commit 5656769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ function do_cgroup {
fi

for f in "$cgpath"*/memory.swap.max; do
echo "Setting cgroup: $f"
fbase=$(dirname "$f")
echo "Setting cgroup: $fbase"
memlimit=$(cat "$fbase/memory.max")
if [[ "$memlimit" != "max" ]]; then
if [[ "$SWAP_PCT_ALT" != "" ]]; then
Expand Down

0 comments on commit 5656769

Please sign in to comment.