don't exit if we are running as root

just warn
This commit is contained in:
2025-09-05 15:45:33 -04:00
parent b5ae11f850
commit f58bf93507

View File

@@ -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