From a1508ef2dbd0a2e10def8817eccbf8e1163419d6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 2 Dec 2007 03:54:27 +0000 Subject: Silence cannot find root user errors. --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index b92e003..265dbca 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2460,7 +2460,7 @@ function sync_webgui_passwords() { $crypted_pw = &$root['password']; } - if (empty ($crypted_pw)) { + if (!$crypted_pw) { log_error("Error: cannot determine root pwd in sync_webgui_passwords().\nRoot user struct follows:\n"); empty($root) ? log_error("Unable to determine root user!\n") : print_r($root); log_error("Testing whether your system has the necessary users... "); -- cgit v1.1