From 59fafbbc2e24d6c7b10635af99dd1952b73be4a7 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:05:56 +0530 Subject: [PATCH] Update tabs/system-setup/5-samba-ssh-setup.sh Co-authored-by: Adam Perkowski --- tabs/system-setup/5-samba-ssh-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/system-setup/5-samba-ssh-setup.sh b/tabs/system-setup/5-samba-ssh-setup.sh index 317b59e3..c8a4d69e 100755 --- a/tabs/system-setup/5-samba-ssh-setup.sh +++ b/tabs/system-setup/5-samba-ssh-setup.sh @@ -78,7 +78,7 @@ setup_samba() { # Prompt user for shared directory path echo "Enter the path for the Samba share (default: /srv/samba/share): " - read SHARED_DIR + read -r SHARED_DIR SHARED_DIR=${SHARED_DIR:-/srv/samba/share} # Create the shared directory if it doesn't exist