From b6abe2203c48d45859cd75ad0010bcfba68d7866 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sat, 30 Aug 2008 19:43:13 +0000 Subject: released interface should be flagged as a warning rather than a commit failed --- scripts/dns-forwarding/vyatta-dns-forwarding.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/dns-forwarding') diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl index 08cea70a..ef6572d0 100644 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -243,8 +243,7 @@ sub check_dhcp_interface { if (-e "/var/run/vyatta/dhclient/dhclient_release_$interface") { # dhcp released for the interface - print "DNS forwarding error: DHCP lease for $interface has been released by user\n"; - return 0; + print "DNS forwarding warning: DHCP lease for $interface has been released by user\n"; } return 1; -- cgit v1.2.3