mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Prevent running bootstrap.sh as root
This commit is contained in:
parent
2e710c2d2d
commit
8dfbaba288
@ -1,5 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Simple bootstrap script to build and run the daemon
|
||||
|
||||
if [ "$EUID" -eq 0 ]
|
||||
then echo "Please don't run bootstrap.sh as root."
|
||||
exit
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
# Echo the rest so it's obvious
|
||||
|
Loading…
x
Reference in New Issue
Block a user