Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/testiso
diff options
context:
space:
mode:
Diffstat (limited to 'testiso')
-rw-r--r--testiso13
1 files changed, 7 insertions, 6 deletions
diff --git a/testiso b/testiso
index 4ad9a31..f129ffa 100644
--- a/testiso
+++ b/testiso
@@ -1,6 +1,7 @@
-#!/bin/sh
-
-if [ $# -ne 1 ]; then
- echo "usage: testiso <iso name>"
-fi
-qemu -boot d -kernel-kqemu -cdrom "${1}"
+#!/bin/sh
+
+if [ $# -ne 1 ]; then
+ echo "usage: testiso <iso name>"
+ exit 1
+fi
+qemu -boot d -kernel-kqemu -cdrom "${1}"