Permalink
Browse files

fix small typo in connect to be able to connect to networks again.

  • Loading branch information...
krnlyng committed Dec 28, 2011
1 parent 15e7dbe commit 9b15dd4f58ad8520fa7bc09f520665241445e56e
Showing with 1 addition and 1 deletion.
  1. +1 −1 wifi-pipe
View
@@ -90,7 +90,7 @@ connect() {
profile_file="$(create_profile "$essid" "$interface" "$security" "$key")"
fi
- if !/usr/bin/netcfg "$profile" > /tmp/output.tmp; then
+ if ! /usr/bin/netcfg "$profile" > /tmp/output.tmp; then
# connect failed, ask about removal of created profile
if zenity --question --title="Connection failed" \
--text="$(grep -Eo "[\-\>]\ .*$" /tmp/output.tmp) \n Remove $profile_file?" \

0 comments on commit 9b15dd4

Please sign in to comment.