]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
config: add more help to the log when backup fails
authorJaroslav Kysela <perex@perex.cz>
Fri, 19 Sep 2014 12:14:01 +0000 (14:14 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 19 Sep 2014 12:14:01 +0000 (14:14 +0200)
src/config.c

index 501d30d4b097c8218e12ce80ae793ae8110801f5..f9f7b56adc1073c49893d1fb340868b98847ab34 100644 (file)
@@ -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;