From 1834fd66a454ceb96478e9e2b0adf9a9cbb7df5a Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Fri, 4 Nov 2022 22:00:09 +0000 Subject: setup-timezone: exit with 1 if failed to install tzdata --- setup-timezone.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup-timezone.in') diff --git a/setup-timezone.in b/setup-timezone.in index 65cfb1b..7556333 100644 --- a/setup-timezone.in +++ b/setup-timezone.in @@ -89,7 +89,7 @@ else apkdel=".setup-timezone" fi -$MOCK apk add --quiet $pkg +$MOCK apk add --quiet $pkg || die "Failed to install tzdata package" if [ -n "$apkdel" ]; then trap "$MOCK apk del --quiet $apkdel" EXIT HUP INT TERM -- cgit v1.2.3