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

  • Committer: teddy at bsnet
  • Date: 2010-09-24 18:33:39 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100924183339-268yiitwo9yjp3gj
* plugins.d/plymouth.c: Break lines, fix whitespace.  Remove
                        unnecessary casts.

  (main) Exit with EX_UNAVAILABLE if plymouth is not found.  Use first
         argument of error() where useful.  Simplify logic of checking
         results of running the ask-for-password command.  Simplify
         assigning value to "plymouthd_argv".

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
                    self.properties[u"LastEnabled"]))
257
257
            timer = timeout - (datetime.datetime.utcnow() - last_ok)
258
258
            message = (u'A checker has failed! Time until client'
259
 
                       u' gets disabled: %s'
 
259
                       u' gets diabled: %s'
260
260
                           % unicode(timer).rsplit(".", 1)[0])
261
261
        else:
262
262
            message = u"enabled"