Skip to content

Commit

Permalink
Update onion-router
Browse files Browse the repository at this point in the history
  • Loading branch information
arrase authored Feb 12, 2017
1 parent 7b553fc commit 3a8e210
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/bin/onion-router
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi

. /etc/onion_router/onion-router.conf

case "$1" in
Expand Down

0 comments on commit 3a8e210

Please sign in to comment.