瀏覽代碼

base-files: Reapply fixed "Ignore exit code of uci.sh inclusion"

This reverts commit 80d1c353b79e6c216dcb2534420470e3e6ed5d60 with the
fix which won't break running systems. A logic error on how shell
handles && and || more the init process.

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 1 年之前
父節點
當前提交
213bd273ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/base-files/files/lib/functions.sh

+ 1 - 1
package/base-files/files/lib/functions.sh

@@ -533,4 +533,4 @@ cmdline_get_var() {
 	done
 }
 
-[ -z "$IPKG_INSTROOT" ] && [ -f /lib/config/uci.sh ] && . /lib/config/uci.sh
+[ -z "$IPKG_INSTROOT" ] && [ -f /lib/config/uci.sh ] && . /lib/config/uci.sh || true