commit 6f646f2f2b7ed33f7074bcb09a49a0eff965936a parent 99af30e952fda090bea92e8fd2e394dbf3229bbe Author: ccx <ccx@te2000.cz> Date: Sat, 22 Jun 2024 16:35:00 +0000 debug executable capabilities Diffstat:
M | sbin/logincaps | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sbin/logincaps b/sbin/logincaps @@ -119,7 +119,8 @@ main() { ;; (login.capability.*) - if (($+commands[${line%[ ]*}])); then + local cap_exe=${line%[ ]*} + if (($+commands[$cap_exe])); then cap_cmd execlineb -c "$line" else printf 'ECMD\n'