Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
config: add more help to the log when backup fails
  • Loading branch information
perexg committed Sep 19, 2014
1 parent 286509b commit 962f99c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.c
Expand Up @@ -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;
Expand Down

0 comments on commit 962f99c

Please sign in to comment.