diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-10 14:41:30 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-10 14:41:30 -0300 |
commit | e4d09dca87d4a3fe05c84b976512cc0810950dda (patch) | |
tree | 7799a624ff3a78da32831a329dea9051af9b3b3c /src/etc/inc/auth.inc | |
parent | c77e22260b4a3c78b1a24174355fa38dfe994de4 (diff) | |
download | pfsense-e4d09dca87d4a3fe05c84b976512cc0810950dda.zip pfsense-e4d09dca87d4a3fe05c84b976512cc0810950dda.tar.gz |
pw lock/unlock throws out error messages even when called with -q, send stderr to /dev/null for now
Diffstat (limited to 'src/etc/inc/auth.inc')
-rw-r--r-- | src/etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 3c0acaa..35e4539 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -522,7 +522,7 @@ function local_user_set(& $user) { } $un = $lock_account ? "" : "un"; - exec("/usr/sbin/pw {$un}lock {$user_name} -q"); + exec("/usr/sbin/pw {$un}lock {$user_name} -q 2>/dev/null"); conf_mount_ro(); } |