mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-25 23:10:33 +01:00
Update template.sh - bugfix for cmd
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user