X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c04232d4828101ddb2eb0cadfc15a868be026f49..7ec88f88f4c65a22b3b7e32ef87cb42dcb32a6fb:/package/uboot-lantiq/patches/310-fix-httpd.patch?ds=sidebyside 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");