summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-03-24 20:47:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-03-24 20:47:31 +0000
commit060b138c71c27329b149b8c12bae6741c857813e (patch)
tree8ba4e9bb788efb4bf272ba2ca169f695e8b84d3b /distrib
parentfbf771b95744f0ba8fbb7b4ba190575b62f944cb (diff)
Bail out from md_prep_disklabel() with `return', not `exit'.
Diffstat (limited to 'distrib')
-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
;;