~sdeziel/apparmor/usr.sbin.sshd-refresh

Viewing all changes in revision 3256.

  • Committer: Christian Boltz
  • Date: 2015-10-20 20:03:58 UTC
  • Revision ID: apparmor@cboltz.de-20151020200358-grlmq913tn3wux3t
Get rid of global variable 'logger'

The global variable 'logger' in aa.py is only used by aa-genprof.

This patch changes aa_genprof to use the (new) logger_path() function,
and moves the code for finding the logger path to that function.

Also make the error message more helpful if logger can't be found.


Acked-by: John Johansen <john.johansen@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: