/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2016-02-06 14:54:50 UTC
  • Revision ID: teddy@recompile.se-20160206145450-617bg20ezzt8a5mp
On cleanup, Signal ClientRemoved only if using D-Bus.

* mandos (main/cleanup): Bug fix: only send D-Bus signal ClientRemoved
                         if actually using D-Bus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3064
3064
            # Don't signal the disabling
3065
3065
            client.disable(quiet=True)
3066
3066
            # Emit D-Bus signal for removal
3067
 
            mandos_dbus_service.client_removed_signal(client)
 
3067
            if use_dbus:
 
3068
                mandos_dbus_service.client_removed_signal(client)
3068
3069
        client_settings.clear()
3069
3070
    
3070
3071
    atexit.register(cleanup)