Fix typo
[project-aon.git] / common / scripts / list-bookcodes-all.sh
index 043835b..7d4cfbd 100755 (executable)
@@ -4,9 +4,9 @@
 
 if [ ! -d "$AONDIR" ]; then
     >&2 echo "Please set the AONDIR environment variable"
-    exit
+    exit 1
 fi
 
 book_db="$AONDIR/common/sqlite/bookcodes.db"
 
-sqlite3 -column -noheader "$book_db" "select book from bookcodes order by book"
+sqlite3 -noheader "$book_db" "select book from bookcodes order by book"