Closed epiccurious closed 1 year ago
Currently, check for sudo is fairly headstrong: sudo echo -n.
sudo echo -n
Implement a more resilient solution like this:
if [ `whoami` != root ]; then echo Please run this script as root or using sudo exit fi
Issue is fixed with PR #17.
Currently, check for sudo is fairly headstrong:
sudo echo -n
.Implement a more resilient solution like this: