Skip to content

Commit

Permalink
Merge pull request #761 from tschettervictor/fix-cmd-template
Browse files Browse the repository at this point in the history
Update template.sh - bugfix for cmd
  • Loading branch information
bmac2 authored Jan 1, 2025
2 parents ac39d4a + 5393e27 commit 0d32733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ for _jail in ${JAILS}; do
# 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="sh -c \"${_args}\""
;;
cp|copy)
_cmd='cp'
Expand Down

0 comments on commit 0d32733

Please sign in to comment.