From: SeokYeon Hwang Date: Wed, 10 Apr 2013 06:32:38 +0000 (+0900) Subject: Bugfix: Do not exit if log directory is deleted on runtime. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1019^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e64256d8e88d17ceed6cbe099c42cc1f840b1929;p=sdk%2Femulator%2Fqemu.git Bugfix: Do not exit if log directory is deleted on runtime. Change-Id: I1c1a19f7f144f336405aa765527dcc195fea04b0 Signed-off-by: SeokYeon Hwang --- diff --git a/tizen/src/debug_ch.c b/tizen/src/debug_ch.c index 17954553f0..cfc4ce68fd 100644 --- a/tizen/src/debug_ch.c +++ b/tizen/src/debug_ch.c @@ -444,7 +444,8 @@ int dbg_log( enum _debug_class cls, struct _debug_channel *channel, fd = qemu_open(log_path, open_flags, 0666); if(fd < 0) { fprintf(stderr, "Can't open logfile: %s\n", log_path); - exit(1); + // commented out for prevent shutdown when log directory is removed on runtime. + //exit(1); } ret_write = qemu_write_full(fd, buf, ret); if (ret_write != ret) {