You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking for the existance of /etc/snazzer/exclude.patterns is achieved
through the use of sudo when snazzer is run as an unprivileged user.
By moving the argument detection to top of script we can avoid situations
where root privileges were required for commands that don't need elevated
privileges (such as --help).
Resolves: csirac2#24
This allows the code to only be called when needed, instead of every time snazzer
is run.
Also remove `$SUDO` from the `test -e`.
This solution replaces the one in commit b57fa2b after discussions with @csirac2
and @florianjacobResolves: csirac2#24
--help
should not ask for root permissions.The text was updated successfully, but these errors were encountered: