sane-sandboxed: fix CLI escaping with capsh
This commit is contained in:
@@ -349,8 +349,7 @@ capshonlyIngestCapability() {
|
||||
|
||||
capshonlyExec() {
|
||||
PATH="$PATH:@libcap@/bin" exec \
|
||||
capsh "--caps=$capshCapsArg" -- \
|
||||
-c "${cliArgs[*]}"
|
||||
capsh "--caps=$capshCapsArg" --shell="${cliArgs[0]}" -- "${cliArgs[@]:1}"
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user