Use SUDO_COMMAND to check for sudo
`sudo -n true` only checks that we _could_ use `sudo`, not if we are in a sudo session. closes #852pull/22/head
parent
22a761208d
commit
7f6ac8dbac
Loading…
Reference in New Issue