[arm/master] IOError when stopping tor

commit 8400b655e160c8b17b03a93047e00834b222f95b Author: Damian Johnson <atagar@torproject.org> Date: Sat Jan 19 13:52:50 2013 -0800 IOError when stopping tor Yet another bug spotted by gsathya... https://trac.torproject.org/7991 --- src/util/torTools.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/torTools.py b/src/util/torTools.py index f38a8ab..31dace4 100644 --- a/src/util/torTools.py +++ b/src/util/torTools.py @@ -1137,9 +1137,9 @@ class Controller: isRelay = self.getOption("ORPort", None) != None if force: - stem.controller.signal(stem.Signal.HALT) + self.controller.signal(stem.Signal.HALT) else: - stem.controller.signal(stem.Signal.SHUTDOWN) + self.controller.signal(stem.Signal.SHUTDOWN) # shuts down control connection if we aren't making a delayed shutdown if force or not isRelay: self.close()
participants (1)
-
atagar@torproject.org