diff options
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/system/qemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/system/qemu b/systemd/system/qemu index 324154b..ad58ae3 100755 --- a/systemd/system/qemu +++ b/systemd/system/qemu @@ -17,7 +17,7 @@ args+=( { numactl "${numactl[@]}" -- qemu-system-"${system}" "${args[@]}" - if [[ ${#vcpu2cpulist[@]} -gt 0 ]]; then + if [[ ${vcpu2cpulist+${#vcpu2cpulist[@]}} -gt 0 ]]; then declare -A vcpu2tid while read -r line; do if [[ $line != ?' CPU #'*:*thread_id=* ]]; then |