/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-ctl

working new feature: network-hooks - Enables user-scripts to take up
                     interfaces during bootup

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
4
4
# Mandos Monitor - Control and monitor the Mandos server
5
5
6
 
# Copyright © 2008-2012 Teddy Hogeborn
7
 
# Copyright © 2008-2012 Björn Påhlsson
 
6
# Copyright © 2008-2011 Teddy Hogeborn
 
7
# Copyright © 2008-2011 Björn Påhlsson
8
8
9
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
236
236
            #restore stderr
237
237
            os.dup2(stderrcopy, sys.stderr.fileno())
238
238
            os.close(stderrcopy)
239
 
    except dbus.exceptions.DBusException:
 
239
    except dbus.exceptions.DBusException, e:
240
240
        print("Access denied: Accessing mandos server through dbus.",
241
241
              file=sys.stderr)
242
242
        sys.exit(1)