Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-17 10:48:57 +0100
committerErich Eckner <git@eckner.net>2018-01-17 10:48:57 +0100
commit03c192ba6be8e441690b7e5a138f171768c25980 (patch)
treec607e16e2670a7793c78364526094d1b254ad59a
parentc11dca46ced3086a7cdb07272ae60868aec95186 (diff)
bin/build-master-status: recogize makepkg's run-as-root error
-rwxr-xr-xbin/build-master-status4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index f993bff..6e830ca 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -321,6 +321,10 @@ if ${web}; then
-exec zgrep -q 'error: failed to commit transaction (invalid or corrupted package)$' {} \; \
-printf '%f package-cache\n' \
\) -o \
+ \( \
+ -exec zgrep -q '^==> ERROR: Running makepkg as root is not allowed as it can cause permanent,' {} \; \
+ -printf '%f run-as-root\n' \
+ \) -o \
-printf '%f unknown\n' \
\) | \
sed '