diff options
-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... "); |