diff --git a/rpm/build.sh b/rpm/build.sh index cffee228a6775d954960f5f2ebc3b91bd84ffe25..4627b133708314b7cc3be2c8164b22145dc88d22 100755 --- a/rpm/build.sh +++ b/rpm/build.sh @@ -76,6 +76,7 @@ function get_python() { if [ `id -u` != 0 ] ; then echo "Please use root to run" + exit 1 fi obd_dir=`dirname $0`