summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2016-11-29 16:15:32 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2016-11-29 16:15:32 +0900
commitc6dfe10089afcc9962c72efd8ae01f5fa2a369f6 (patch)
tree9ad3035211bfa2a86f826c354671b45ed7eef4ec
parent0319d8fdfb07f3bd23a40fd257b5e97198f6aa58 (diff)
downloadlaunchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.tar.gz
launchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.tar.bz2
launchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.zip
Change-Id: I26cce4cc82cb6a2f35f7e60669b51c64c039bdf4 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--src/launchpad_debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/launchpad_debug.c b/src/launchpad_debug.c
index 10afec8..0065f1f 100644
--- a/src/launchpad_debug.c
+++ b/src/launchpad_debug.c
@@ -266,15 +266,15 @@ void _debug_prepare_debugger(bundle *kb)
if (debugger == NULL)
return;
+ ret = __redirect_std_fds(kb);
+ if (ret < 0)
+ _E("[DEBUG] Failed to redirect standard fds");
+
_D("[DEBUG] debugger: %s", debugger);
debugger_info = _debugger_info_find(debugger_info_list, debugger);
if (debugger_info == NULL)
return;
- ret = __redirect_std_fds(kb);
- if (ret < 0)
- _E("[DEBUG] Failed to redirect standard fds");
-
list = _debugger_info_get_unlink_list(debugger_info);
g_list_foreach(list, __remove_file, NULL);