live-build/helpers/lh_testroot

11 lines
126 B
Bash
Executable File

#!/bin/sh
# lh_testroot.sh
# Checking user account
if [ "`id -u`" -ne "0" ]
then
echo "E: need root privileges"
exit 1
fi