From 9d2adafbababe0469df3998fb05135c317d68305 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 22 Sep 2024 14:29:16 -0400 Subject: [PATCH] quiet sysctl reload --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 7d6969a..175fc95 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1078,7 +1078,7 @@ mapcount_check() { mapcount_set() { if [ -d "/etc/sysctl.d" ]; then # Newer versions of sysctl - preflight_actions+=('printf "\n# Added by LUG-Helper:\nvm.max_map_count = 16777216\n" > /etc/sysctl.d/99-starcitizen-max_map_count.conf && sysctl --system') + preflight_actions+=('printf "\n# Added by LUG-Helper:\nvm.max_map_count = 16777216\n" > /etc/sysctl.d/99-starcitizen-max_map_count.conf && sysctl --quiet --system') preflight_fix_results+=("The vm.max_map_count configuration has been added to:\n/etc/sysctl.d/99-starcitizen-max_map_count.conf") else # Older versions of sysctl