This commit is contained in:
Stefen Auris 2018-10-22 15:35:12 -04:00
parent dfced811ad
commit 774cb13c58
2 changed files with 1 additions and 1 deletions

View file

@ -1,4 +1,4 @@
if [ 'whoami' != root ]
if [ $(id -u) -ne 0 ]
then
echo "must be run as root"
exit

0
scripts/kernel-stat.sh Normal file → Executable file
View file