ui/nc: Don't segfault if we can't open log_file
authorJeremy Kerr <jk@ozlabs.org>
Tue, 7 May 2013 07:01:53 +0000 (15:01 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 9 May 2013 00:47:54 +0000 (08:47 +0800)
commitad781c2aaed011dc704a018b53dcb43e5d90fd85
tree364baa9d9e53fc394efd6d38759b1c515d6b2b2d
parent038cb53fa8e19592b9c7021176fda194799f1d51
ui/nc: Don't segfault if we can't open log_file

Fallback to logging to /dev/null.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/generic-main.c