Fix substitution in kill-script

In the kill-script there is a string "Unknown action ${SIG} for
${$CT_NAME} ${CT_ID}" which results in a "bad substitution" error, as
there is no variable named with what the contents of the CT_NAME
environment variable contains.  Remove the extraneous '$'.

Change-Id: I4c76071083bf5cb4f876d3b78c379822a8bd8db1
Fixes-Bug: #1860155
This commit is contained in:
Nate Johnston 2020-01-17 11:46:26 -05:00
parent 61290176d7
commit b45d4c6d21
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ if [ -f /proc/$PID/cgroup ]; then
kill_container $CT_NAME $CT_ID
;;
*)
add_date "Unknown action ${SIG} for ${$CT_NAME} ${CT_ID}"
add_date "Unknown action ${SIG} for ${CT_NAME} ${CT_ID}"
exit 1
;;
esac