[openwrt/openwrt] Revert "base-files: Ignore exit code of uci.sh inclusion"
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 8 03:59:07 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/80d1c353b79e6c216dcb2534420470e3e6ed5d60
commit 80d1c353b79e6c216dcb2534420470e3e6ed5d60
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sat Jun 8 12:57:18 2024 +0200
Revert "base-files: Ignore exit code of uci.sh inclusion"
This reverts commit 17d8c5825e6f5c5d2e4d2c320c3b4b797f4ca0e9.
This commit is breaking init somehow, even the hostname is not set,
so until its fixed, revert it.
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/base-files/files/lib/functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index 0fc8c07d1a..a009aa81e9 100644
--- a/package/base-files/files/lib/functions.sh
+++ b/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 ) || true
+[ -z "$IPKG_INSTROOT" ] && [ -f /lib/config/uci.sh ] && . /lib/config/uci.sh
More information about the lede-commits
mailing list