From 73803e2c4b02ae373d30ee9aac58f1561be866b5 Mon Sep 17 00:00:00 2001 From: gryf Date: Tue, 6 Jul 2021 19:51:48 +0200 Subject: [PATCH] Fix return value for storageattach method. --- box.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/box.py b/box.py index d44a857..1642b4f 100755 --- a/box.py +++ b/box.py @@ -723,8 +723,8 @@ class VBoxManage: else: LOG.fatal('Attaching %s to VM "%s" has failed', image, self.name_or_uuid) - return False - return True + return False + return True def poweron(self): if Run(['vboxmanage', 'startvm', self.name_or_uuid, '--type',