Explorar o código

refactor(start.sh): use -r flag to prevent mangle backslashes

Nicolas Meienberger %!s(int64=2) %!d(string=hai) anos
pai
achega
4f7b251256
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/start.sh

+ 1 - 1
scripts/start.sh

@@ -106,7 +106,7 @@ elif [[ "$NETWORK_INTERFACE_COUNT" -gt 1 ]]; then
   echo "Found multiple network interfaces. Please select one of the following interfaces:"
   echo "$NETWORK_INTERFACE"
   while true; do
-    read -p "> " USER_NETWORK_INTERFACE
+    read -rp "> " USER_NETWORK_INTERFACE
     if echo "$NETWORK_INTERFACE" | grep -x "$USER_NETWORK_INTERFACE"; then
       NETWORK_INTERFACE="$USER_NETWORK_INTERFACE"
       break