summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-12 01:19:30 -0400
committerScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-12 01:19:30 -0400
commitab1ab2ac18fa2d9183634b04a9aae6556012b4b7 (patch)
tree7213b9f3a0408068ed58258e292eff6c0dd0d3cb /etc
parent6b3ef23e35b651d2c83f19b6f8885227a04995cc (diff)
downloadpfsense-ab1ab2ac18fa2d9183634b04a9aae6556012b4b7.zip
pfsense-ab1ab2ac18fa2d9183634b04a9aae6556012b4b7.tar.gz
Trim results
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
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;
}
OpenPOWER on IntegriCloud