diff mbox series

[OSSTEST,12/13] ts-memdisk-try-append: Fix for fact that broken() does not return

Message ID 20211206181839.23463-13-iwj@xenproject.org (mailing list archive)
State New, archived
Headers show
Series Miscellaneous improvements | expand

Commit Message

Ian Jackson Dec. 6, 2021, 6:18 p.m. UTC
Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 ts-memdisk-try-append | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/ts-memdisk-try-append b/ts-memdisk-try-append
index 18c4aaa5c..e34415b05 100755
--- a/ts-memdisk-try-append
+++ b/ts-memdisk-try-append
@@ -38,8 +38,6 @@  arch=`perl -I. -we '
 
         broken("skipping memdisk because firmware is not bios",
 	       "skip");
-	print "SKIP\n" or die $!;
-	exit 0;
     }
 
     print $ho->{Arch} or die $!;
@@ -52,7 +50,7 @@  amd64)
     echo "Arch $arch not supported for memdisk tests"
     exit 0
     ;;
-SKIP)
+'')
     echo "Step skipped."
     exit 0
     ;;