diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2014-02-25 14:50:28 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2014-02-25 15:21:03 +0100 |
commit | 33c6ca7f01a36551ca436a96aafd1bf639bcea2f (patch) | |
tree | aff712316fda54b67eed9dadd98cfd74da3f3f49 /src/wifi-menu | |
parent | 3dc6d75f5fa4813fe5c998b13582912fffd88159 (diff) | |
download | netctl-33c6ca7f01a36551ca436a96aafd1bf639bcea2f.tar.gz netctl-33c6ca7f01a36551ca436a96aafd1bf639bcea2f.tar.xz |
Code style and output improvements
Now a bit more verbose when useful.
Diffstat (limited to 'src/wifi-menu')
-rwxr-xr-x | src/wifi-menu | 2 |
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 |