Skip to content

Commit

Permalink
Update tor-router (#7)
Browse files Browse the repository at this point in the history
In line 26 switched "if" to "elif"
  • Loading branch information
FaultierSP authored Jun 7, 2020
1 parent 0bfd341 commit 7658db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/tor-router
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if ! command -v tor > /dev/null; then
elif ! systemctl is-active tor.service > /dev/null; then
echo "The tor service is not active, please start the tor service before running the script."
exit
if ! command -v iptables > /dev/null; then
elif ! command -v iptables > /dev/null; then
echo "You need to install the iptables package."
exit
else
Expand Down

0 comments on commit 7658db7

Please sign in to comment.