Sfoglia il codice sorgente

Return on complete

Bob Mottram 8 anni fa
parent
commit
93e62eb31a
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      src/freedombone-wifi

+ 3
- 3
src/freedombone-wifi Vedi File

@@ -323,11 +323,11 @@ function create_networks_interactive {
323 323
 
324 324
         if [ ${#WIFI_SSID} -gt 1 ]; then
325 325
             if [ ${#WIFI_TYPE} -gt 1 ]; then
326
-                if [[ "${#WIFI_TYPE}" == $'none' || "${#WIFI_TYPE}" == $'open' ]]; then
327
-                    wifi_networks_done='yes'
326
+                if [[ "${WIFI_TYPE}" == $'none' || "${WIFI_TYPE}" == $'open' ]]; then
327
+                    return
328 328
                 else
329 329
                     if [ ${#WIFI_PASSPHRASE} -gt 1 ]; then
330
-                        wifi_networks_done='yes'
330
+                        return
331 331
                     fi
332 332
                 fi
333 333
             fi