From: sangwook lee Date: Wed, 7 Oct 2020 06:28:20 +0000 (+0900) Subject: "Fix kona issue DF200921-00401" X-Git-Tag: accepted/tizen/unified/20201007.035328^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59c5c44eb631dc85ac39860276e318e7870a9a1e;p=sdk%2Ftarget%2Fsdbd.git "Fix kona issue DF200921-00401" Change-Id: Ibca19f4d06aa716ae2462ee45469b02f67857bfd Signed-off-by: sangwook lee --- diff --git a/src/default_plugin_appcmd.c b/src/default_plugin_appcmd.c index fdbf422..d6d04ff 100755 --- a/src/default_plugin_appcmd.c +++ b/src/default_plugin_appcmd.c @@ -541,6 +541,7 @@ static int exec_appcmd_shell_process(appcmd_info* p_info) { char *envp[] = { "TERM=linux", /* without this, some programs based on screen can't work, e.g. top */ "DISPLAY=:0", /* without this, some programs based on without launchpad can't work */ + "HISTFILE=", /*kona issue https://kona.sec.samsung.net/kona_server/workitem/defectInfo.do?idWorkItem=DF200921-00401 */ NULL, NULL, NULL, diff --git a/src/services.c b/src/services.c index bba01a0..f26d0ae 100755 --- a/src/services.c +++ b/src/services.c @@ -682,6 +682,7 @@ static int create_subproc_thread(const char *name, int lines, int columns) envp[envp_cnt++] = strdup("TERM=linux"); envp[envp_cnt++] = strdup("DISPLAY=:0"); + envp[envp_cnt++] = strdup("HISTFILE="); if (should_drop_privileges()) { if (g_sdk_home_dir_env) { @@ -957,6 +958,7 @@ static int create_extcmd_subproc_thread(const char *name, int lines, int columns envp[envp_cnt++] = strdup("TERM=linux"); envp[envp_cnt++] = strdup("DISPLAY=:0"); + envp[envp_cnt++] = strdup("HISTFILE="); if (should_drop_privileges()) { if (g_sdk_home_dir_env) {