mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
Found by Coverity Scan. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
7f5f7e8ef6
commit
21a890a04e
1 file changed
-1
@@ -1599,7 +1599,6 @@ static void set_pre_post_envs(svc_t *svc, const char *type)
|
|||||||
if (!access(fn, R_OK))
|
if (!access(fn, R_OK))
|
||||||
exist = "1";
|
exist = "1";
|
||||||
}
|
}
|
||||||
setenv("SERVICE_ENV_FILE", fn, 1);
|
|
||||||
setenv("SERVICE_ENV_FILE_EXIST", exist, 1);
|
setenv("SERVICE_ENV_FILE_EXIST", exist, 1);
|
||||||
|
|
||||||
#ifdef FINIT_SYSCONFIG
|
#ifdef FINIT_SYSCONFIG
|
||||||
|
|||||||
Reference in new issue
Block a user