diff --git a/scripts/reinstall_ceilo_driver.sh b/scripts/reinstall_ceilo_driver.sh
index 5a3145f5643ca97b49cb952fbe92eb0788816502..b05717cb5f2e40ad4f01dbad752da43ef75d0d77 100755
--- a/scripts/reinstall_ceilo_driver.sh
+++ b/scripts/reinstall_ceilo_driver.sh
@@ -4,6 +4,11 @@
 #   communicated with. This should be run on reboot as the driver seems to
 #   have trouble with kernel updates and maybe even reboots of the server.
 
+oops() {
+    echo "ERROR: $*"
+    exit 1
+}
+
 if [ $UID -ne 0 ]; then
     echo "ERROR: This script must be run as root (UID 0)."
     exit 1
@@ -44,11 +49,11 @@ EOF
 )
 
 # Add the server
-cd $DRIVER_DST
+cd $DRIVER_DST || oops "Driver install directory doesn't exist"
 ./mxaddsvr 192.168.16.27 4
 status=$?
 
-if [ $? -ne 0]; then
+if [ $? -ne 0 ]; then
     echo "ERROR: Could not install driver"
     exit 1
 fi
\ No newline at end of file