Skip to content

Commit

Permalink
Revert "Update template.sh - bugfix for cmd"
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Jan 4, 2025
1 parent 0d32733 commit 6a3fbf2
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 6a3fbf2

Please sign in to comment.