Skip to content

Commit c1cf7eb

Browse files
authored
Update startup.py
1 parent 755d5f2 commit c1cf7eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cuckoo/core/startup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,10 @@ def check_snapshot_state():
350350
continue
351351

352352
try:
353-
domain = conn.lookupByName(machine_name)
354353
machine_config = machinery_config.get(machine_name)
354+
machine_name = machine_config.get("label")
355+
domain = conn.lookupByName(machine_name)
356+
355357

356358
# Check for valid architecture configuration.
357359
arch = machine_config.get("arch")

0 commit comments

Comments
 (0)