summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 0ea2c00..67fd8b1 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -329,7 +329,7 @@ function local_sync_accounts() {
$line = explode(":",fgets($fd));
if (((!strncmp($line[0], "_", 1)) || ($line[2] < 2000) || ($line[2] > 65000)) && ($line[0] != "admin"))
continue;
- $cmd = "/bin/echo | /usr/sbin/pw userdel -n '{$line[0]}'";
+ $cmd = "/usr/sbin/pw userdel -n '{$line[0]}'";
if($debug)
log_error(sprintf(gettext("Running: %s"), $cmd));
mwexec($cmd);
OpenPOWER on IntegriCloud