auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
241 stars 36 forks source link

check if running as sudo or root #129

Open simonmcnair opened 15 hours ago

simonmcnair commented 15 hours ago

Is your feature request related to a problem? Please describe. snapraid requires root, installing packages requires root. This script requires root to work. Might was well check if you are.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.