Skip to content

Commit

Permalink
Bourne Shell lacks local operator ||, -o instead.
Browse files Browse the repository at this point in the history
Not as pretty but it sure works more nicely than nothing.
  • Loading branch information
zolrath committed Mar 13, 2014
1 parent eca4550 commit e8efbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wemux
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ client_mode() {
}

send() {
if [ "$allow_pair_mode" == "true" || "$allow_rogue_mode" == "true"]; then
if [ "$allow_pair_mode" == "true" -o "$allow_rogue_mode" == "true" ]; then
$wemux send "$@"
else
echo "Pairing and Rogue mode are off, sending is disabled."
Expand Down

0 comments on commit e8efbcb

Please sign in to comment.