Remove calling unsetenv 56/234856/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 29 May 2020 07:59:18 +0000 (16:59 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 29 May 2020 07:59:18 +0000 (16:59 +0900)
Change-Id: Iaa73b09819bbfd9c3c2c0ebf140b253aad43e4f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launch.c

index 927a0c3..5ad3a76 100755 (executable)
@@ -285,7 +285,7 @@ static int __get_preinit_fd(void)
        if (listen_fd) {
                if (isdigit(*listen_fd))
                        fd = atoi(listen_fd);
-               unsetenv("AUL_LISTEN_FD");
+               setenv("AUL_LISTEN_FD", "-1", 1);
        }
 
        return fd;