]> git.llucax.com Git - software/pymin.git/blobdiff - pymindaemon.py
Bugfix: wrong variable usage.
[software/pymin.git] / pymindaemon.py
index b7c64e4104bbe8a2376ae315910a8e7df5c4f055..76a31d75eae0bdc54bb5417102cabf156758d5c1 100644 (file)
@@ -47,7 +47,7 @@ class PyminDaemon(EventLoop):
         # Signal handling
         def quit(signum, frame):
             print "Shuting down ..."
-            loop.stop() # tell main event loop to stop
+            self.stop() # tell main event loop to stop
         def reload_config(signum, frame):
             print "Reloading configuration..."
             # TODO iterate handlers list propagating reload action