From: Jaroslav Kysela Date: Fri, 19 Sep 2014 12:14:01 +0000 (+0200) Subject: config: add more help to the log when backup fails X-Git-Tag: v4.1~1305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962f99c69f2cd8b465f0a07550939b98e93273b0;p=thirdparty%2Ftvheadend.git config: add more help to the log when backup fails --- diff --git a/src/config.c b/src/config.c index 501d30d4b..f9f7b56ad 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;