From 0645185f28d62d5301ecb7cbb4f9c0fd70a02956 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Wed, 10 Nov 2021 11:15:00 +0000 Subject: [PATCH] Use an empty string rather than a message... --- raspi-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raspi-config b/raspi-config index 1d6022d..6799076 100755 --- a/raspi-config +++ b/raspi-config @@ -2098,14 +2098,14 @@ get_vnc_resolution() { if [ -e /etc/xdg/autostart/vnc_xrandr.desktop ] ; then echo $(grep fb /etc/xdg/autostart/vnc_xrandr.desktop | cut -f 15 -d ' ') else - echo "not set" + echo "" fi } do_vnc_resolution() { if [ "$INTERACTIVE" = True ]; then CUR=$(get_vnc_resolution) - if [ "$CUR" = "not set" ] ; then + if [ "$CUR" = "" ] ; then CUR=640x480 fi FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --default-item $CUR --menu "Set VNC Resolution" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \