commit 434374c57fc499f47b86d92a3bdfdc53bede7ac3 parent 746b4a30195dc0088030faa4580ec84d5c2b2cd7 Author: ccx <ccx@te2000.cz> Date: Wed, 6 Mar 2024 23:59:03 +0000 Use printf instead of s6-echo Diffstat:
M | Makefile | | | 2 | +- |
M | s6-rc.aat | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -11,7 +11,7 @@ DATA_AWK:=$(realpath $(AAT_BIN_DIR)/..)/data.awk all: $(ALL_TARGETS) clean: - rm -rf build $(ALL_TARGETS) + rm -rf build $(ALL_TARGETS) out build/%.awk: %.aat common.aat mkdir -p build diff --git a/s6-rc.aat b/s6-rc.aat @@ -85,7 +85,7 @@ |finish_el() {{qexec("redirfd")}} -w 1 /dev/tty{{tty}} {{qexec("fdmove")}} -c 2 1 - {{qexec("foreground")}} { {{qexec("s6-echo")}} "\nwaiting for session cleanup" } + {{qexec("foreground")}} { {{qexec("printf")}} "\n%s\n" "waiting for session cleanup" } {{qexec("flock")}} /run/ttylock/tty{{tty}} {{qexec("true")}} |end() |}