fix command line buffer length, fixes mtdparts
[openwrt/staging/florian.git] / package / uboot-lantiq / patches / 310-fix-httpd.patch
index 51a96fc588d572eb0d636c85e9db7e70dee60b17..b27ed5859a2298da42624787cf9c720e0e58b4a5 100644 (file)
@@ -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");