summaryrefslogtreecommitdiff
path: root/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system')
-rwxr-xr-xsystemd/system/qemu2
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