diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-20 05:08:45 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-20 05:08:45 +0000 |
commit | 0f0c5a982c3d3403c366f21b36fa4bdf64c80f7c (patch) | |
tree | cbb185a45c43667cdddf998ee9ac2d1d03ab6ed2 /etc | |
parent | 1aefe104aa2a5a95384b25bc4d8aa23cc08ccbf0 (diff) | |
download | pfsense-0f0c5a982c3d3403c366f21b36fa4bdf64c80f7c.zip pfsense-0f0c5a982c3d3403c366f21b36fa4bdf64c80f7c.tar.gz |
Have get_latest_package_version() return false instead ;P
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 9310143..57db8c1 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -365,7 +365,7 @@ function get_pkg_id($pkg_name) { } /* - * get_latest_package_version($pkgname): Get current version of a package. Returns latest package version or -1 + * get_latest_package_version($pkgname): Get current version of a package. Returns latest package version or false * if package isn't defined in the currently used pkg_config.xml. */ function get_latest_package_version($pkg_name) { @@ -377,7 +377,7 @@ function get_latest_package_version($pkg_name) { return $pkg['version']; } } - return -1; + return false; } /* |