adding abnormal termination for errors
[project-aon.git] / common / scripts / list-bookcodes-all.sh
index 043835b..8f738e3 100755 (executable)
@@ -4,7 +4,7 @@
 
 if [ ! -d "$AONDIR" ]; then
     >&2 echo "Please set the AONDIR environment variable"
-    exit
+    exit 1
 fi
 
 book_db="$AONDIR/common/sqlite/bookcodes.db"