diff options
author | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-12 01:19:30 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-12 01:19:30 -0400 |
commit | ab1ab2ac18fa2d9183634b04a9aae6556012b4b7 (patch) | |
tree | 7213b9f3a0408068ed58258e292eff6c0dd0d3cb /etc/inc | |
parent | 6b3ef23e35b651d2c83f19b6f8885227a04995cc (diff) | |
download | pfsense-ab1ab2ac18fa2d9183634b04a9aae6556012b4b7.zip pfsense-ab1ab2ac18fa2d9183634b04a9aae6556012b4b7.tar.gz |
Trim results
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index dc1a850..2707371 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1705,7 +1705,7 @@ function register_via_growl() { } function get_freebsd_version() { - $version = `/usr/bin/uname -r | /usr/bin/cut -d'.' -f1`; + $version = trim(`/usr/bin/uname -r | /usr/bin/cut -d'.' -f1`); return $version; } |