From 44f2ef9b486fc3e4e2a183ae157a86a9e8ac9018 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 3 Feb 2014 15:04:52 -0200 Subject: Fix an obvious typo on var name --- usr/local/sbin/prefixes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/sbin/prefixes.php b/usr/local/sbin/prefixes.php index b0920cb..7c924c8 100644 --- a/usr/local/sbin/prefixes.php +++ b/usr/local/sbin/prefixes.php @@ -67,7 +67,7 @@ if(count($routes) > 0) { /* get clog from dhcpd */ $dhcpdlogfile = "/var/log/dhcpd.log"; $clog = array(); -if(file_exists(dhcpdlogfile)) +if(file_exists($dhcpdlogfile)) exec("clog $dhcpdlogfile", $clog, $ret); if($ret > 0) -- cgit v1.1