From 8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd Mon Sep 17 00:00:00 2001 From: Jybz Date: Fri, 19 Feb 2021 13:43:17 +0100 Subject: Fix fork loop generated by the space not found at the end when --log is the last argument. --- create_arm_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_arm_image.sh b/create_arm_image.sh index a85eb13..c646850 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -65,7 +65,7 @@ if [ 0 -ne $(echo "${CMD_LINE}" | grep -c '\-\-log') ]; then if [ "x" = "${LOGFILE}x" ]; then mkdir -p ./log LOGFILE="./log/mga4arm-$(date "+%Y-%m-%d-%H:%M:%S")-${CONFIG_NAME}.log" - LOGCMD="--log " + LOGCMD="--log" else LOGCMD="--log ${lOGFILE}" fi -- cgit v1.2.1