Quit if pamac was called under sudo environment
Hi!
What's not working
Exit if to call sudo pamac.
How many times it needs to notify every user about it, instead of fix it one time forever and for all?
https://forum.manjaro.org/t/after-full-system-update-on-reboot-sddm-freezes/80086/5
https://forum.manjaro.org/t/why-not-to-check-if-pamac-is-called-with-sudo/85936
and many more.
How should it behaves
sudo pamac ...
-> quit with message
Thanks!
Edited by livemuziek