summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-10 14:41:30 -0300
committerRenato Botelho <renato@netgate.com>2015-09-10 14:41:30 -0300
commite4d09dca87d4a3fe05c84b976512cc0810950dda (patch)
tree7799a624ff3a78da32831a329dea9051af9b3b3c /src
parentc77e22260b4a3c78b1a24174355fa38dfe994de4 (diff)
downloadpfsense-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')
-rw-r--r--src/etc/inc/auth.inc2
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();
}
OpenPOWER on IntegriCloud