From 5a924a1a48fa00e58c87fec9f0e6f8257855bcc0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 15 Oct 2021 15:04:02 +0000 Subject: better error message if mandocd is not found --- catman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catman.c b/catman.c index b1bab0f6..e46613eb 100644 --- a/catman.c +++ b/catman.c @@ -1,4 +1,4 @@ -/* $Id: catman.c,v 1.22 2020/06/14 23:40:31 schwarze Exp $ */ +/* $Id: catman.c,v 1.23 2021/10/15 15:04:02 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg * Copyright (c) 2017 Ingo Schwarze @@ -62,7 +62,7 @@ run_mandocd(int sockfd, const char *outtype, const char* defos) else execlp("mandocd", "mandocd", "-T", outtype, "-I", defos, sockfdstr, (char *)NULL); - err(1, "exec"); + err(1, "exec(mandocd)"); } ssize_t -- cgit v1.2.3-56-ge451