This is a minor fix to correct an extra dollar sign in the bastion init script template. Looks like a global replace on $ to $$ was performed when a global replace on ${ to $${ should have been performed. In short, the template engine does not replace $$? with anything and thus we are not actually checking the error status of the last command we are checking the PID of the bash command with a ? on the end.
This is a minor fix to correct an extra dollar sign in the bastion init script template. Looks like a global replace on
$
to$$
was performed when a global replace on${
to$${
should have been performed. In short, the template engine does not replace$$?
with anything and thus we are not actually checking the error status of the last command we are checking the PID of the bash command with a?
on the end.