don't exit if we are running as root
just warn
This commit is contained in:
@@ -17,8 +17,7 @@ set -euo pipefail
|
|||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if [ $(id -u) = 0 ]; then
|
if [ $(id -u) = 0 ]; then
|
||||||
echo "Script should not be run as root, it could break something! Exiting!" >&2
|
echo "Script should not be run as root, it could break something!" >&2
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# paths to bootcode
|
# paths to bootcode
|
||||||
|
|||||||
Reference in New Issue
Block a user