fix ap_isolate
[openwrt.git] / root / bin / ipkg
index c802ce1..bf275d8 100755 (executable)
@@ -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;
 }
This page took 0.021691 seconds and 4 git commands to generate.