"Executing Configuration Scripts" is incorrect

https://docs.vyos.io/en/latest/automation/command-scripting.html#executing-configuration-scripts

In this URL, you will find the following explanation

To make sure that a script is not accidentally called without the vyattacfg group, the script can be safeguarded like this:

if [ "$(id -g -n)" != 'vyattacfg' ] ; then
    exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
fi

However, when the script is actually created as shown, only one argument is passed.
After modifying the script as shown below, two or more arguments were correctly specified.

if [ "$(id -g -n)" != 'vyattacfg' ] ; then
    exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $*"
fi