aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-06 10:48:00 +0000
committerRoy Marples <roy@marples.name>2007-12-06 10:48:00 +0000
commita178d532020aa159b27fa0fa5e9bb7490c5c35e6 (patch)
tree208bbdd2c47dd04fbd08ef4a15e6298fb19531d1 /src/runscript.c
parenta31c7cc61e4ef7e03e9d2986e09bb849de2c292f (diff)
Move RC_ to EINFO_ for all env vars related to einfo.
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runscript.c b/src/runscript.c
index f81db232..8b60c17c 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -1098,8 +1098,8 @@ int runscript (int argc, char **argv)
if ((softlevel = xstrdup (getenv ("RC_SOFTLEVEL"))) == NULL) {
/* Ensure our environment is pure
Also, add our configuration to it */
- tmplist = env_config ();
env = env_filter ();
+ tmplist = env_config ();
rc_strlist_join (&env, tmplist);
rc_strlist_free (tmplist);
tmplist = NULL;
@@ -1135,7 +1135,7 @@ int runscript (int argc, char **argv)
softlevel = rc_runlevel_get ();
}
- setenv ("RC_ELOG", service, 1);
+ setenv ("EINFO_LOG", service, 1);
setenv ("SVCNAME", applet, 1);
/* Set an env var so that we always know our pid regardless of any