live-build/helpers/lh_testroot

11 lines
126 B
Plaintext
Raw Normal View History

2007-09-23 08:04:40 +00:00
#!/bin/sh
# lh_testroot.sh
# Checking user account
if [ "`id -u`" -ne "0" ]
then
echo "E: need root privileges"
exit 1
fi