root check

This commit is contained in:
2022-09-29 14:55:14 +00:00
parent 4282b0796a
commit 4ce08ae1ab

View File

@@ -0,0 +1,6 @@
#! /bin/bash
if [ $UID -ne 0 ] ; then
echo "need root"
exit 1
fi