diff options
author | Ermal <eri@pfsense.org> | 2013-01-16 14:55:07 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-16 14:55:29 +0000 |
commit | 281cf46f90f22734b840ee1d79ad21e1510e4ecf (patch) | |
tree | a55a1c504acbed7a03560faeeb9c94d85f84de2d | |
parent | cf6dacfd1e18047cc5e868b5bdce68f9eaf9d4f5 (diff) | |
download | pfsense-281cf46f90f22734b840ee1d79ad21e1510e4ecf.zip pfsense-281cf46f90f22734b840ee1d79ad21e1510e4ecf.tar.gz |
Forgotten -n option
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index ffe635a..783b175 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1455,7 +1455,7 @@ function set_sysctl($values) { function get_memory() { $real = trim(`sysctl -n hw.physmem`, " \n"); - $avail = trim(`sysctl hw.realmem`, " \n"); + $avail = trim(`sysctl -n hw.realmem`, " \n"); /* convert from bytes to megabytes */ return array(($real/1048576),($avail/1048576)); } |