summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/diag_logs_ipsec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php
index 96b4f90..1cc6c59 100755
--- a/usr/local/www/diag_logs_ipsec.php
+++ b/usr/local/www/diag_logs_ipsec.php
@@ -68,7 +68,7 @@ if ($_POST['clear']) {
touch($ipsec_logfile);
} else {
exec("killall syslogd");
- if(file_exists("{$ipsec_logfile}")
+ if(file_exists("{$ipsec_logfile}"))
unlink("{$ipsec_logfile}");
exec("/usr/sbin/fifolog_create -s 511488 {$ipsec_logfile}");
system_syslogd_start();
OpenPOWER on IntegriCloud