summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-03-24 20:47:30 +0000
committermiod <miod@openbsd.org>2014-03-24 20:47:30 +0000
commitc20aa538bb6c6c204fea989989b2ba10f1e23fad (patch)
treefe4b632ca51eaf9d7205a38ab38f9c8faed6e3b3
parentsync (diff)
downloadwireguard-openbsd-c20aa538bb6c6c204fea989989b2ba10f1e23fad.tar.xz
wireguard-openbsd-c20aa538bb6c6c204fea989989b2ba10f1e23fad.zip
Bail out from md_prep_disklabel() with `return', not `exit'.
-rw-r--r--distrib/sgi/ramdisk/install.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/sgi/ramdisk/install.md b/distrib/sgi/ramdisk/install.md
index a4fc9154724..e374abc36c9 100644
--- a/distrib/sgi/ramdisk/install.md
+++ b/distrib/sgi/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.32 2013/11/16 18:37:27 rpe Exp $
+# $OpenBSD: install.md,v 1.33 2014/03/24 20:47:30 miod Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -109,7 +109,7 @@ __EOT
/usr/mdec/sgivol -qi $_disk
;;
n*|N*)
- exit 1
+ return 1
;;
esac
;;
@@ -125,7 +125,7 @@ __EOT
y*|Y*)
;;
n*|N*)
- exit 1 ;;
+ return 1 ;;
esac
;;
2) echo
@@ -137,7 +137,7 @@ __EOT
/usr/mdec/sgivol -qi $_disk
;;
n*|N*)
- exit 1
+ return 1
;;
esac
;;