[pkg-dhcp-commits] [isc-dhcp] 02/04: fix lease removal in postrm (closes: #724033)

Michael Gilbert mgilbert at moszumanska.debian.org
Mon Jun 9 02:28:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository isc-dhcp.

commit fc9e0f0edefbff3c0a7b75e06e41bdbb97ae4d6e
Author: Michael Gilbert <mgilbert at debian.org>
Date:   Mon Jun 9 01:28:29 2014 +0000

    fix lease removal in postrm (closes: #724033)
---
 debian/isc-dhcp-client.postrm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/isc-dhcp-client.postrm b/debian/isc-dhcp-client.postrm
index 1ac24c3..285647c 100644
--- a/debian/isc-dhcp-client.postrm
+++ b/debian/isc-dhcp-client.postrm
@@ -4,7 +4,8 @@
 
 if [ "$1" = "purge" ]; then
 	# Remove lease database
-	rm -f /var/lib/dhcp/dhclient.leases*
+	rm -f /var/lib/dhcp/dhclient*.leases
+	rm -f /var/lib/dhcp/dhclient*.lease
 
 	# Try to remove directory
 	if [ -d /var/lib/dhcp ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dhcp/isc-dhcp.git



More information about the pkg-dhcp-commits mailing list