Revert "base-files: fwtool: Fix wrong checksum on combined-image with metadata"
[openwrt/openwrt.git] / package / base-files / files / lib / upgrade / fwtool.sh
index e0e5c96c89ba91cdd17f0a928d67099ac226909e..3f28fccd904dc0ae1019ad31ad11b5a1c220b905 100644 (file)
@@ -28,7 +28,7 @@ fwtool_check_image() {
 
        . /usr/share/libubox/jshn.sh
 
-       if ! fwtool -q -t -i /tmp/sysupgrade.meta "$1"; then
+       if ! fwtool -q -i /tmp/sysupgrade.meta "$1"; then
                echo "Image metadata not found"
                [ "$REQUIRE_IMAGE_METADATA" = 1 -a "$FORCE" != 1 ] && {
                        echo "Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware"