From 19c0664b6dd2e4d7e096caf0226dd5f8e13a8c03 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 19 Jun 2023 06:14:11 +0900 Subject: [PATCH] fix: word splitting --- dzgui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index f3750c9..d6604e6 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=3.3.4 +version=3.3.5 aid=221100 game="dayz" @@ -1759,7 +1759,7 @@ check_map_count(){ logger INFO "Checking system map count" echo "[DZGUI] Checking system map count" if [[ ! -f /etc/sysctl.d/dayz.conf ]]; then - $steamsafe_zenity --question --width 500 --title="DZGUI" --cancel-label="Cancel" --ok-label="OK" --text "sudo password required to check system vm map count." 2>/dev/null + $steamsafe_zenity --question --width=500 --title="DZGUI" --cancel-label="Cancel" --ok-label="OK" --text "sudo password required to check system vm map count." local rc=$? logger INFO "Return code is $rc" if [[ $rc -eq 0 ]]; then