X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c04232d4828101ddb2eb0cadfc15a868be026f49..fb9f9cdc813406041715d4c692f2b18cfd418cee:/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");