From e64256d8e88d17ceed6cbe099c42cc1f840b1929 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Wed, 10 Apr 2013 15:32:38 +0900 Subject: [PATCH] Bugfix: Do not exit if log directory is deleted on runtime. Change-Id: I1c1a19f7f144f336405aa765527dcc195fea04b0 Signed-off-by: SeokYeon Hwang --- tizen/src/debug_ch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.34.1