The `topics' argument of ipc_endpoint_subscribe() is not assigned
from an array, causing the function to subscribe only to the first
topic that is passed to it.
This commit fixes the assignment of the `topics' argument of
ipc_endpoint_subscribe() so that the function will subscribe an
endpoint to more than one topic.
ipc_endpoint_subscribe() {
local endpoint="$1"
- local topics="$2"
+ local topics=("${@:2}")
local topic
local -a succeeded