dc: fix collect logs methods.
having $() around the collect log command would execute the output of the command,
which is not what we want.
@@ -96,7 +96,7 @@ cmd_collect_logs() {
local out_dir="$2"
mkdir -p "$out_dir"
for svc in $(cmd_$group config --services); do
- $(cmd_$group logs $svc &> $out_dir/$svc.log)
+ cmd_$group logs $svc &> $out_dir/$svc.log
done
}
