From d7dd89a630da021eec722ed16591105fc0f97bfc Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 2 Aug 2020 16:05:38 -0400 Subject: [PATCH] Zenity dialog when vm.max_map_count is already set --- lug-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lug-helper.sh b/lug-helper.sh index ac6b907..abb73d5 100644 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -138,6 +138,7 @@ final_check() { mem_check() { # If vm.max_map_count is already set, no need to do anything if [ "$(cat /proc/sys/vm/max_map_count)" -ge 16777216 ]; then + main_dialog --info --text="vm.max_map_count is already set to the optimal value. You're all set!" exit 0 fi