summary refs log tree commit diff
path: root/services/agetty-serial/run
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-06-15 16:50:02 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-06-15 16:50:02 +0200
commit0d783cd262a74367d467596052fc79cc4f75950b (patch)
treea1b5390b517197b3743a035bea0b0878606d6bdc /services/agetty-serial/run
parent457e38b24337769ab3c1dfb970f1bb9376626c25 (diff)
downloadrunit-void-0d783cd262a74367d467596052fc79cc4f75950b.tar.gz
runit-void-0d783cd262a74367d467596052fc79cc4f75950b.tar.xz
runit-void-0d783cd262a74367d467596052fc79cc4f75950b.zip
shutdown.d/90-kexec.sh: check for +x bit on noexec mounts properly
The fix in 79675bcb1a was insufficient, as test -x doesn't work
on noexec mount (which /run often is), due to using access(X_OK)
and not checking the actual stat.  Use find instead.

Found and fixed by feranur.
Diffstat (limited to 'services/agetty-serial/run')
0 files changed, 0 insertions, 0 deletions