Skip to content
Snippets Groups Projects
Verified Commit e041ab40 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

quassel: Unbreak sudo

This was well-meant but breaks the sudoers entry.
parent 236ad91a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash -e
if [[ `/usr/bin/whoami` != quassel ]]; then
if [[ -n $BREAK_RECURSION ]]; then
echo >&2 "Couldn't become quassel."
exit 1
fi
exec /usr/bin/sudo -u quassel -- env BREAK_RECURSION=1 "$0"
exec /usr/bin/sudo -u quassel -- "$0"
fi
shopt -s extglob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment