mirror of
https://github.com/aclist/dztui.git
synced 2025-01-01 15:12:05 +01:00
fix: word splitting
This commit is contained in:
parent
f56a2f3fe6
commit
19c0664b6d
1 changed files with 2 additions and 2 deletions
4
dzgui.sh
4
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.3.4
|
version=3.3.5
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -1759,7 +1759,7 @@ check_map_count(){
|
||||||
logger INFO "Checking system map count"
|
logger INFO "Checking system map count"
|
||||||
echo "[DZGUI] Checking system map count"
|
echo "[DZGUI] Checking system map count"
|
||||||
if [[ ! -f /etc/sysctl.d/dayz.conf ]]; then
|
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=$?
|
local rc=$?
|
||||||
logger INFO "Return code is $rc"
|
logger INFO "Return code is $rc"
|
||||||
if [[ $rc -eq 0 ]]; then
|
if [[ $rc -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue