]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 15:51:19 +0000 (15:51 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 15:51:19 +0000 (15:51 +0000)
rescue/linux/usb/getdiskinfo

index 75ec6556adfe313925e6816c077df19e387fcedb..a6c8ce4efb50cf98697b1fdee4de00b974c2b7de 100755 (executable)
@@ -28,9 +28,9 @@ case $host in
 esac
 if [ ! `whoami` = "root" ] ; then
   echo ""
-  echo "You need to be root to run this, otherwise"
-  echo "sfdisk produces no output. Continuing anyway ..."
+  echo "You need to be root to run this script ..."
   echo ""
+  exit 1
 fi
 
 #