From 7658db7e1cd401f01bad9be3bd74a816e0c8309f Mon Sep 17 00:00:00 2001 From: FaultierSP <65611002+FaultierSP@users.noreply.github.com> Date: Sun, 7 Jun 2020 21:20:56 +0200 Subject: [PATCH] Update tor-router (#7) In line 26 switched "if" to "elif" --- files/tor-router | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/tor-router b/files/tor-router index 1e0df71..04b9688 100755 --- a/files/tor-router +++ b/files/tor-router @@ -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