X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomsh.c;h=37f5452223f3572d20e9da37e3eafdae9ef17493;hp=fa4c0f8a7408379a49527ba3f4c9ab486cf25a20;hb=11ed1645174d8ca8d8dcf5ef2bbe91e70a4a3e00;hpb=d9849e03a9313647aa81846cf9cb05a06394e9ea diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index fa4c0f8..37f5452 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #if HAVE_READLINE_READLINE_H @@ -1004,7 +1005,10 @@ static int zoomsh(int argc, char **argv) int main(int argc, char **argv) { - int ret = zoomsh(argc, argv); + int ret; + + yaz_enable_panic_backtrace(*argv); + ret = zoomsh(argc, argv); exit(ret); } /*