diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-05 12:02:49 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-07-05 12:02:49 +0530 |
commit | 4b9029ef427db8379495a10de65bec8b5ac406f4 (patch) | |
tree | 452e95d260cb9bf6cbab69b08683a7ee518c8240 | |
parent | 37409bbf57cbe87431d90afc62f783b84f856752 (diff) |
dbook: fail gracefully when bookmarks is empty
-rwxr-xr-x | dbook | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" ] && |