diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-02 03:54:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-02 03:54:27 +0000 |
commit | a1508ef2dbd0a2e10def8817eccbf8e1163419d6 (patch) | |
tree | d1c0d4e9b48cd5be802c12b1d902fdd8ba5507ad | |
parent | 6ed6d9e7d4028d11c2df665174d142d53f04fe4e (diff) | |
download | pfsense-a1508ef2dbd0a2e10def8817eccbf8e1163419d6.zip pfsense-a1508ef2dbd0a2e10def8817eccbf8e1163419d6.tar.gz |
Silence cannot find root user errors.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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... "); |