Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-11-12 11:30:19 +0200
committernl6720 <nl6720@gmail.com>2022-11-12 11:35:36 +0200
commit477294955a52874e167c33994dd99f9f3d60d912 (patch)
tree27ffb90c4b2ae7cac8155fbfcffc09b477027ae5 /configs
parentee4e4a96d260040af11482cf9d28b49541b813a6 (diff)
configs/releng/airootfs/root/.zlogin: use grep -a to ensure /proc/cmdline is treated as text
This protects against the case where /proc/cmdline contains garbage triggering grep to think it is a binary. See e.g. https://bugs.archlinux.org/task/76468 for an example.
Diffstat (limited to 'configs')
-rw-r--r--configs/releng/airootfs/root/.zlogin2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/airootfs/root/.zlogin b/configs/releng/airootfs/root/.zlogin
index 0fb119d..bf6bc8f 100644
--- a/configs/releng/airootfs/root/.zlogin
+++ b/configs/releng/airootfs/root/.zlogin
@@ -1,5 +1,5 @@
# fix for screen readers
-if grep -Fq 'accessibility=' /proc/cmdline &> /dev/null; then
+if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
setopt SINGLE_LINE_ZLE
fi