[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [arm/master] Get arm running on FreeBSD again
commit f78d818a6e4bace27d7a763d0bda29777b946ce0
Author: Fabian Keil <fk@xxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits