summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/diag_logs_auth.php')
-rwxr-xr-xusr/local/www/diag_logs_auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_auth.php b/usr/local/www/diag_logs_auth.php
index 2c48e42..e4daf4e 100755
--- a/usr/local/www/diag_logs_auth.php
+++ b/usr/local/www/diag_logs_auth.php
@@ -51,7 +51,7 @@ if ($_POST['clear']) {
} else {
exec("killall syslogd");
if(file_exists("{$portal_logfile}"))
- unlink_file("{$portal_logfile}");
+ unlink("{$portal_logfile}");
exec("/usr/sbin/fifolog_create -s 511488 {$portal_logfile}");
}
}
OpenPOWER on IntegriCloud