From 1d7380b2c2b4798ea7420cffaea6dbcb14d640c0 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 20 Aug 2008 02:00:33 -0700 Subject: handle the case where there are no modules selected at all; this is an error, but we should recover gracefully to let the user un-break their system. --- debian/local/pam-auth-update | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 260453d7..532ced6d 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -404,6 +404,7 @@ sub diff_profiles my ($sourcedir,$savedir) = @_; my (%diff); + @{$diff{'mods'}} = (); # Load the saved config from /var/lib/pam, then iterate through all # lines in the current config that are in the managed block. # If anything fails here, just return immediately since we then -- cgit v1.2.3