make.sh: Disconnect standard input from make commands

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-05 10:25:27 +00:00
parent 84dc563161
commit 7ee70f04ea

View File

@@ -787,7 +787,7 @@ run_command() {
local t="${SECONDS}"
# Run the command and pipe all output to the logfile
if ! "${command[@]}" >> "${LOGFILE}" 2>&1; then
if ! "${command[@]}" >> "${LOGFILE}" 2>&1 </dev/null; then
r="$?"
fi