mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
pw lock/unlock throws out error messages even when called with -q, send stderr to /dev/null for now
This commit is contained in:
parent
c77e22260b
commit
e4d09dca87
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user