From 778588fc1045ed8dc1fccb060a93bd856c77cca8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 25 May 2005 01:50:06 +0000 Subject: Gracefully report that no carp interfaces are defined. --- packages/carp_status.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/carp_status.php') diff --git a/packages/carp_status.php b/packages/carp_status.php index 764cdd16..6b360c01 100644 --- a/packages/carp_status.php +++ b/packages/carp_status.php @@ -103,6 +103,11 @@ include("fbegin.inc"); Could not locate any defined CARP interfaces."; + exit; +} + if($config['installedpackages']['carp']['config'] <> "") $carpint=0; foreach($config['installedpackages']['carp']['config'] as $carp) { -- cgit v1.2.3