diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-30 09:39:48 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-30 10:45:55 -0300 |
commit | f39bb5b636b2f8d14cda7d23b29eb732aadf4a78 (patch) | |
tree | 2aea8a26818265e460e37fd0dd8dee5efa960333 /src/usr/local/sbin | |
parent | 92135bfda46726865a6e1a9b2fac7e9e7fb126d9 (diff) | |
download | pfsense-f39bb5b636b2f8d14cda7d23b29eb732aadf4a78.zip pfsense-f39bb5b636b2f8d14cda7d23b29eb732aadf4a78.tar.gz |
pkg 1.6.x upgrade command called with -q is now respecting it
Diffstat (limited to 'src/usr/local/sbin')
-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 68a79d3..cdbd51b 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -162,7 +162,7 @@ pkg_upgrade_first_step() { # XXX find a samrter way to do it l=$(pkg upgrade -nq | wc -l) - if [ ${l} -eq 1 ]; then + if [ ${l} -le 1 ]; then _echo "Your packages are up to date" _exit 0 fi |