summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-12-23 14:37:41 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-12-23 14:38:51 +0200
commitf2d14370666c42ed28095e562b6dd9109bbd2a3e (patch)
treede43551e8166fe21ce83995a3a5123a064e69ee5 /setup-alpine.in
parentf133bfa2ddf73b07e4ecf92d724ed7c416f4ff81 (diff)
downloadalpine-conf-f2d14370666c42ed28095e562b6dd9109bbd2a3e.zip
setup-disk: exit with proper code on failure
fixes #2876
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 8b1d947..7840300 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -199,7 +199,7 @@ if [ "$rc_sys" = "LXC" ]; then
fi
DEFAULT_DISK=none \
- $PREFIX/sbin/setup-disk -q ${DISKOPTS}
+ $PREFIX/sbin/setup-disk -q ${DISKOPTS} || exit
diskmode=$(cat /tmp/alpine-install-diskmode.out 2>/dev/null)