summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-23 12:27:46 +0100
committerErich Eckner <git@eckner.net>2018-01-23 12:27:46 +0100
commitc6ef11b46979de123f55a7fa286c3e0cd59f0b56 (patch)
treedbe5bf1df577ebc06b539e60469690428081590a /bin/bootstrap-mysql
parent73127e25b97cd6230c0ab9b8a64af0db04c2d9e1 (diff)
downloadbuilder-c6ef11b46979de123f55a7fa286c3e0cd59f0b56.tar.xz
bin/bootstrap-mysql: add "unknown" build error type
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 2d56aad..46678f7 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -269,7 +269,11 @@ fi
"$(
printf '%s' '==> ERROR: Running makepkg as root is not allowed as it can cause permanent,.*' | \
base64 -w0
- )" 'run-as-root' 1 | \
+ )" 'run-as-root' 1 \
+ "$(
+ printf '.*' | \
+ base64 -w0
+ )" 'unknown' 100 | \
sed 's|,$||'
printf ';\n'
# shellcheck disable=SC2016