dom0/dom0-updates: typo fix

This commit is contained in:
Marek Marczykowski 2011-10-10 15:34:24 +02:00
parent e1ccda362c
commit 7cf4abb04e

View File

@ -47,7 +47,7 @@ while [ $# -gt 0 ]; do
done
ID=$(id -ur)
if [ $ID != 0 -a -z "$GUI" -z "$CHECK_ONLY" ] ; then
if [ $ID != 0 -a -z "$GUI" -a -z "$CHECK_ONLY" ] ; then
echo "This script should be run as root (when used in console mode), use sudo." >&2
exit
fi