scaleway / image-tools

:nut_and_bolt: Scripts used to create Images on Scaleway - https://github.com/scaleway-community
https://github.com/scaleway-community
MIT License
117 stars 36 forks source link

Add EUID check before running scripts #210

Closed remyleone closed 5 years ago

IGLOU-EU commented 6 years ago

Sorry, i have only give an example to you. I think you can add a message like "echo Fatal error: ${0##*/} must be run as root". To inform the user that something wrong :+1: