aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdbook2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbook b/dbook
index 81a8dd1..2557a9a 100755
--- a/dbook
+++ b/dbook
@@ -289,6 +289,8 @@ main()
;;
"")
dep_check "xdg-open"
+ [ -s "$book_conf" ] ||
+ die "no bookmarks, try dbook -h"
data="$(parse_name | "$menu" -p " " -l 25 | parse_data)"
[ -z "$data" ] &&