fail push

This commit is contained in:
2021-04-05 02:53:49 +02:00
parent 71078e1055
commit 2e2587c447

View File

@@ -1,5 +1,10 @@
#!/bin/bash
CPUCORES=$(grep ^processor /proc/cpuinfo | wc -l)
# Make sure only root can run our script
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
clear
echo "################################################"
echo "# Version: 0.1v #"