Skip to content

Commit

Permalink
fix kill tor pid not working
Browse files Browse the repository at this point in the history
  • Loading branch information
lesion committed Sep 10, 2017
1 parent 9a49c98 commit ecc82eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torjail
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ printvn() {
# Handler of namespace, tor and resolve file
cleanup() {
# removing the namespace
TORPID=$(cat /tmp/torjail-$NAME/pid &> /dev/null)
TORPID=$(cat /tmp/torjail-$NAME/pid)
if [ "$KEEP" = y ]; then
print G " * Keeping the tor process $TORPID running"
print G " * Keeping the namespace $NAME"
Expand Down

0 comments on commit ecc82eb

Please sign in to comment.