[tor-commits] [arm/master] Get arm running on FreeBSD again

atagar at torproject.org atagar at torproject.org
Sat Jan 12 05:05:07 UTC 2013


commit f78d818a6e4bace27d7a763d0bda29777b946ce0
Author: Fabian Keil <fk at fabiankeil.de>
Date:   Thu Jan 10 15:02:11 2013 +0100

    Get arm running on FreeBSD again
    
    Stem's get_bsd_jail_id() takes the torPid as argument and
    while 8dbea0fa prepared for this, the last step was missing.
---
 src/util/torTools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/torTools.py b/src/util/torTools.py
index d82e7cd..c050ea6 100644
--- a/src/util/torTools.py
+++ b/src/util/torTools.py
@@ -1664,7 +1664,7 @@ class Controller:
         # thanks to Fabian Keil!)
         if not prefixPath and os.uname()[0] == "FreeBSD":
           torPid = getConn().getMyPid()
-          jid = system.get_bsd_jail_id()
+          jid = system.get_bsd_jail_id(torPid)
           if jid != 0:
             # Output should be something like:
             #    JID  IP Address      Hostname      Path



More information about the tor-commits mailing list