From 962f99c69f2cd8b465f0a07550939b98e93273b0 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 19 Sep 2014 14:14:01 +0200 Subject: [PATCH] config: add more help to the log when backup fails --- src/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config.c b/src/config.c index 501d30d4..f9f7b56a 100644 --- a/src/config.c +++ b/src/config.c @@ -1032,6 +1032,10 @@ dobackup(const char *oldver) s = htsbuf_to_string(&q); tvherror("config", "command '%s' returned error code %d", s, code); tvherror("config", "executed in directory '%s'", root); + tvherror("config", "please, do not report this as an error, you may use --nobackup option"); + tvherror("config", "... or run the above command in the printed directory"); + tvherror("config", "... using the same user/group as for the tvheadend executable"); + tvherror("config", "... to check the reason for the unfinished backup"); free(s); htsbuf_queue_flush(&q); goto fatal;