X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c04232d4828101ddb2eb0cadfc15a868be026f49..c18e77fd345fcede79e68a58e3d0f99ded084338:/package/uboot-lantiq/patches/310-fix-httpd.patch diff --git a/package/uboot-lantiq/patches/310-fix-httpd.patch b/package/uboot-lantiq/patches/310-fix-httpd.patch index 51a96fc58..b27ed5859 100644 --- a/package/uboot-lantiq/patches/310-fix-httpd.patch +++ b/package/uboot-lantiq/patches/310-fix-httpd.patch @@ -35,7 +35,7 @@ # endif +# ifdef CONFIG_CMD_HTTPD -+ if (ret < 0) { ++ if (ret != 0) { + printf("Failed to execute bootcmd " + "(maybe invalid u-boot environment?), " + "starting httpd to update firmware...\n");