commit | 33659700a35cf4982ac067ac0510bde44220f0c4 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Mon Jul 27 09:45:32 2020 +0200 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Fri Aug 14 11:06:12 2020 +0200 |
tree | d2dcec50ba186f9883bf848bf4e22a1f8c7f6e09 | |
parent | ed0aaf46a9c193471f69f0ab66c0fbe2626c4865 [diff] [blame] |
Fix misuse of printf in shell script Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 792cc6c..c0a1616 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh
@@ -513,7 +513,7 @@ # run the commands if [ -n "$PXY_CMD" ]; then - printf "# $NAME\n$PXY_CMD\n" > $PXY_OUT + printf "# %s\n%s\n" "$NAME" "$PXY_CMD" > $PXY_OUT $PXY_CMD >> $PXY_OUT 2>&1 & PXY_PID=$! wait_proxy_start "$PXY_PORT" "$PXY_PID"