From f9d79aa027a8843584a0a0363a8a1e50046a4089 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 25 May 2005 01:51:29 +0000 Subject: Move message above table. --- packages/carp_status.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/carp_status.php') diff --git a/packages/carp_status.php b/packages/carp_status.php index 6b360c01..bf4c8ba9 100644 --- a/packages/carp_status.php +++ b/packages/carp_status.php @@ -90,6 +90,11 @@ include("fbegin.inc"); $carp_enabled = true; echo ""; } + +if(!is_array($config['installedpackages']['carp']['config'])) { + echo "Could not locate any defined CARP interfaces."; + exit; +} ?>

@@ -103,11 +108,6 @@ 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