Revert "base-files: Ignore exit code of uci.sh inclusion"
authorRobert Marko <robimarko@gmail.com>
Sat, 8 Jun 2024 10:57:18 +0000 (12:57 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 8 Jun 2024 10:57:18 +0000 (12:57 +0200)
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@gmail.com>
package/base-files/files/lib/functions.sh

index 0fc8c07d1ae860e3499b3a4b981507a73c11405f..a009aa81e99d0bcdced53a51c0267b0f3873b140 100644 (file)
@@ -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