Skip to content

Commit

Permalink
Fix #4 CMD args
Browse files Browse the repository at this point in the history
sh -c is provided by the cmd.sh command
  • Loading branch information
janondrusek committed Jan 23, 2022
1 parent 81a4898 commit a8c83a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/libexec/rocinante/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a8c83a6

Please sign in to comment.