diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-05 19:49:35 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-05 19:49:35 -0300 |
commit | a35bf546b57558535e3fc1958cf3fb2b4d18ade7 (patch) | |
tree | 16b6c5ed2168f58db88dd40fda269319ef739d51 | |
parent | b884641b1caa3d99d7966cb367c1f6dbfc1687f2 (diff) | |
download | pfsense-a35bf546b57558535e3fc1958cf3fb2b4d18ade7.zip pfsense-a35bf546b57558535e3fc1958cf3fb2b4d18ade7.tar.gz |
Do not return -1, sh doesn't like it
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 2c8159c..e0a0139 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -578,7 +578,7 @@ compare_pkg_version() { if ! is_pkg_installed ${_pkg_name} ${pkg_chroot}; then echo '!' - return -1 + return 1 fi local _lver=$(pkg ${pkg_chroot} query %v ${_pkg_name}) |