Commit 1354585
committed
fix(RELEASE-2646): fix empty
Access to empty `pids` cannot be done via "${#pids[@]}"
as that's causing `unbound variable` error.
Instead it has to be access as "${#pids[@]:-0}"
Assited-By: claude
Signed-off-by: Jindrich Luza <jluza@redhat.com>pids array1 parent f1299a1 commit 1354585
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments