I noticed today that aa-exec requires Time::Local and File::Basename, but
doesn't use either. This patch fixes that.

-- 
Jamie Strandboge                 http://www.ubuntu.com/

remove unneeded perl requires on Time::Local and File::Basename

Acked-By: Jamie Strandboge <[email protected]>

diff:
=== modified file 'utils/aa-exec'
--- utils/aa-exec	2012-03-22 23:07:07 +0000
+++ utils/aa-exec	2013-06-27 17:11:09 +0000
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # ------------------------------------------------------------------
 #
-#    Copyright (C) 2011-2012 Canonical Ltd.
+#    Copyright (C) 2011-2013 Canonical Ltd.
 #
 #    This program is free software; you can redistribute it and/or
 #    modify it under the terms of version 2 of the GNU General Public
@@ -15,8 +15,6 @@
 
 require LibAppArmor;
 require POSIX;
-require Time::Local;
-require File::Basename;
 
 my $opt_d = '';
 my $opt_h = '';

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to