aboutsummaryrefslogtreecommitdiff
path: root/lint/xinit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lint/xinit.sh')
-rw-r--r--lint/xinit.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/lint/xinit.sh b/lint/xinit.sh
index b5ff6937..b2718874 100644
--- a/lint/xinit.sh
+++ b/lint/xinit.sh
@@ -1 +1,5 @@
-find X -type f \( -name xinitrc -o -name '*.sh' \) -print -exec shellcheck -e SC1090 -s sh -- {} +
+set \
+ X/xinitrc \
+ X/xinitrc.d/*.sh
+shellcheck -e SC1090 -s sh -- "$@"
+printf 'Xinit startup scripts linted successfully.\n'