summaryrefslogtreecommitdiffstats
path: root/src/wifi-menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/wifi-menu')
-rwxr-xr-xsrc/wifi-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi-menu b/src/wifi-menu
index 455cdc9..0323e51 100755
--- a/src/wifi-menu
+++ b/src/wifi-menu
@@ -98,7 +98,7 @@ confirm_profile()
{
local msg="Enter a name for the new profile\n"
PROFILE=$(dialog --inputbox "$msg" 10 50 "$PROFILE" --stdout) || return $?
- if [[ $PROFILE = */* ]]; then
+ if [[ "$PROFILE" = */* ]]; then
PROFILE=${PROFILE//\//_}
confirm_profile
elif [[ -e "$PROFILE_DIR/$PROFILE" ]]; then