On Thu, Aug 22, 2019 at 12:19:27PM +0200, Klemens Nanni wrote:
> # Start listener process looking for dmesg changes.
> -start_dmesg_listener
> +$AI && start_dmesg_listener
Oh my! Diff with correct boolean logic below (using `||' not `&&').
Index: install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.1140
diff -u -p -r1.1140 install.sub
--- install.sub 21 Aug 2019 17:39:30 -0000 1.1140
+++ install.sub 22 Aug 2019 10:42:12 -0000
@@ -551,9 +551,6 @@ start_dmesg_listener() {
unlock
rm -f $_update
- # Do not start the listener if in non-interactive mode.
- $AI && return
-
# To ensure that only one dmesg listener instance can be active, run it
# in a co-process subshell of which there can always only be one active.
(
@@ -3327,7 +3324,7 @@ umount -af >/dev/null 2>&1
. install.md
# Start listener process looking for dmesg changes.
-start_dmesg_listener
+$AI || start_dmesg_listener
CGI_INFO=/tmp/i/cgiinfo
CGI_METHOD=