Skip to content

Commit

Permalink
fix small typo in connect to be able to connect to networks again.
Browse files Browse the repository at this point in the history
  • Loading branch information
krnlyng committed Dec 28, 2011
1 parent 15e7dbe commit 9b15dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wifi-pipe
Expand Up @@ -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?" \
Expand Down

0 comments on commit 9b15dd4

Please sign in to comment.