suggest sudo raspi-config if script is not run as root

This commit is contained in:
Alex Bradbury 2012-07-15 18:16:02 +01:00
parent 37d02c865f
commit c678dd82ff
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
if [ $(id -u) -ne 0 ]; then
printf "Script must be run as root\n"
printf "Script must be run as root. Try 'sudo raspi-config'\n"
exit 1
fi