remove need for sudo on cosmic admin scripts

This commit is contained in:
James Tomasino 2018-11-29 10:26:26 -05:00
parent 1810b7fd2d
commit 888a89fc51
1 changed files with 1 additions and 1 deletions

View File

@ -42,5 +42,5 @@ if [ "$run_user" -eq 0 ]; then
} >> "${file_rss}"
cp "${file_rss}" "${gopher_rss}"
else
printf "You must be root to run this script.\\n"
exec sudo "$0" "$@"
fi