mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Clarify warning
This commit is contained in:
parent
4d68d06154
commit
a2d04e81c4
@ -19,7 +19,7 @@ if [ "$current_soft_limit" -lt "$TARGET_SOFT_LIMIT" ]; then
|
|||||||
new_hard_limit=$(ulimit -Hn)
|
new_hard_limit=$(ulimit -Hn)
|
||||||
|
|
||||||
if [ "$new_soft_limit" -ne "$TARGET_SOFT_LIMIT" ] || [ "$new_hard_limit" -ne "$TARGET_HARD_LIMIT" ]; then
|
if [ "$new_soft_limit" -ne "$TARGET_SOFT_LIMIT" ] || [ "$new_hard_limit" -ne "$TARGET_HARD_LIMIT" ]; then
|
||||||
echo "Warning: Limits were set, but not to the exact target values. Check system constraints."
|
echo "Warning: Nofile limits were set, but not to the exact target values."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Warning: Failed to set new nofile limits."
|
echo "Warning: Failed to set new nofile limits."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user