/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

Added enable/disable

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# and some lines in "main".
12
12
13
13
# Everything else is
14
 
# Copyright © 2008,2009 Teddy Hogeborn
15
 
# Copyright © 2008,2009 Björn Påhlsson
 
14
# Copyright © 2008 Teddy Hogeborn
 
15
# Copyright © 2008 Björn Påhlsson
16
16
17
17
# This program is free software: you can redistribute it and/or modify
18
18
# it under the terms of the GNU General Public License as published by
1046
1046
                              use_dbus = use_dbus)
1047
1047
                       for section in client_config.sections()))
1048
1048
    if not clients:
1049
 
        logger.warning(u"No clients defined")
 
1049
        logger.critical(u"No clients defined")
 
1050
        sys.exit(1)
1050
1051
    
1051
1052
    if debug:
1052
1053
        # Redirect stdin so all checkers get /dev/null
1135
1136
                        self.ClientRemoved(object_path)
1136
1137
                        return
1137
1138
                raise KeyError
1138
 
            @dbus.service.method(_interface)
1139
 
            def Quit(self):
1140
 
                main_loop.quit()
1141
1139
 
1142
1140
            del _interface
1143
1141