Browse Source

snic.sh: Fix logic error

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
d1bb1eed06
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      snic.sh

+ 1
- 1
snic.sh View File

@ -59,7 +59,7 @@ fi
########################
if [[ ${2} != "router" ]] || [[ ${2} != "client" ]]; then
if [[ ${2} != "router" ]] && [[ ${2} != "client" ]]; then
echo "Invalid mode. Use either 'router' or 'client'. Aborting."
exit 1
fi


Loading…
Cancel
Save