diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-06-15 16:50:02 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-06-15 16:50:02 +0200 |
commit | 0d783cd262a74367d467596052fc79cc4f75950b (patch) | |
tree | a1b5390b517197b3743a035bea0b0878606d6bdc /services/agetty-serial/run | |
parent | 457e38b24337769ab3c1dfb970f1bb9376626c25 (diff) | |
download | runit-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