Double quote array expansion

Double quote array expansions to avoid re-splitting elements.

Signed-off-by: Nisha K <nishak@vmware.com>
This commit is contained in:
Nisha K 2021-10-13 08:11:50 -07:00 committed by David Ko
parent 643793b208
commit 184ad40584

View File

@ -30,6 +30,6 @@ case $ARG in
if [[ $# -ne 1 ]]; then
echo "Command args number shouldn't be greater than 1"
fi
exec_command ${@}
exec_command "${@}"
;;
esac