From b84d1b32387d61c15afd8fc722d06508077b8779 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Dec 2005 01:55:51 +0000 Subject: s/cat// --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/pfsense-utils.inc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 96f46c7..1e1bf1b 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1045,7 +1045,7 @@ function rmdir_recursive($path,$follow_links=false) { * [0]real and [1]available */ function get_memory() { - if(file_exists("cat /var/log/dmesg.boot")) { + if(file_exists("/var/log/dmesg.boot")) { $mem = `cat /var/log/dmesg.boot | grep memory`; if (preg_match_all("/real memory = .* \((.*) MB/", $mem, $matches)) $real = $matches[1]; -- cgit v1.1