jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Make it possible to run install script as root user #187

Closed magynhard closed 8 years ago

magynhard commented 8 years ago

I was giving minicron a try and had already problems to install it with the install.sh script, because i don't use sudo on the used system.

With this pull request i add support for running the install.sh script as root user. It puts an error if there is neither sudo available nor the current user is root and aborts the script.

jamesrwhite commented 8 years ago

Thanks for this.