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:
parent
61290176d7
commit
b45d4c6d21
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue