  retval=0
  
 -[ $UID -eq 0 ]
-+UID=$(id -u)
- 
+-
  start() {
      if [ $UID -ne 0 ] ; then
-@@ -54,9 +55,9 @@
+         echo "User has insufficient privilege."
+@@ -54,9 +53,9 @@
  
      fi
  

     if [ ! -s "$logfile" ] ; then
         echo "(This file should be empty unless there's a catastrophic failure.)" >> "$logfile"
     fi
@@ -64,24 +65,21 @@
        -c "$exec --daemon --pid-file '$pidfile' --dsn '@$config' $options" \
 	>> "$logfile" 2>&1 &
     retval=$?

 }
 
 restart()
@@ -90,18 +86,17 @@
     start
 }
 
