From a8c83a64abf66c4e40648d48c68a365088772617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Ondru=C5=A1ek?= Date: Sat, 22 Jan 2022 19:48:04 -0800 Subject: [PATCH] Fix #4 CMD args sh -c is provided by the cmd.sh command --- usr/local/libexec/rocinante/template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/libexec/rocinante/template.sh b/usr/local/libexec/rocinante/template.sh index 3f58239..aa6e9ea 100644 --- a/usr/local/libexec/rocinante/template.sh +++ b/usr/local/libexec/rocinante/template.sh @@ -268,7 +268,7 @@ if [ -s "${rocinante_template}/Bastillefile" ]; then # Escape single-quotes in the command being executed. -- cwells _args=$(echo "${_args}" | sed "s/'/'\\\\''/g") # Allow redirection within the jail. -- cwells - _args="sh -c '${_args}'" + _args="'${_args}'" ;; cp|copy) _cmd='cp'