Unverified Commit 70adbd1a authored by Eli Schwartz's avatar Eli Schwartz
Browse files

For obvious reasons, sudo rules don't allow using bash as the command.

Not sure what I thought here.
parent d5970df3
......@@ -8,7 +8,7 @@ if (( $# != 1 )); then
fi
if [[ -n ${ARCHIVEUSER} ]]; then
exec sudo -u "${ARCHIVEUSER}" bash "${BASH_SOURCE[0]}" "${@}"
exec sudo -u "${ARCHIVEUSER}" "${BASH_SOURCE[0]}" "${@}"
fi
pkgfile=${1##*/}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment