commit 1051cb5d5ab565777f3dd9cef3b3b8d4219a4f39
parent e5e93f8cff52e510edd5418196dde9cf7f40855a
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Tue, 15 Apr 2025 02:18:56 +0000
Run the proper escaped command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/login.capability.app-terminal b/sbin/login.capability.app-terminal
@@ -78,7 +78,7 @@ check_command() {
(*) die100 "app not permitted: ${(qqq)1}";;
esac
- for arg in "$@"; do
+ for arg in "$run[@]"; do
quoted+=( "$(s6-quote -- "$arg")" )
done