X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f9d657cb5c648b235d8442e44bcebf3150986828..8323c2ebd7c0650c4b37e17fcb01bc57dd75e5bf:/root/bin/ipkg?ds=sidebyside diff --git a/root/bin/ipkg b/root/bin/ipkg index c802ce1b3..bf275d842 100755 --- a/root/bin/ipkg +++ b/root/bin/ipkg @@ -26,7 +26,7 @@ ipkg_is_upgrade () { while [ \! -z "$A" ] && [ \! -z "$B" ]; do { set $A; a=$1; shift; A=$* set $B; b=$1; shift; B=$* - { [ "$a" -gt "$b" ] 2>- || [ "$a" ">" "$b" ]; } && { return 0; } + { [ "$a" -gt "$b" ] 2>&- || [ "$a" ">" "$b" ]; } && { return 0; } }; done return 1; }