shellcheck: template, revert single quotes

This commit is contained in:
Juan David Hurtado G
2024-12-09 19:43:04 -05:00
parent d708a3460d
commit 097ad8e269

View File

@@ -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'