Change-Id: Ibca19f4d06aa716ae2462ee45469b02f67857bfd
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
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,
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) {
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) {