On Fri, 2009-10-02 at 15:41 -0700, Garrett Cooper wrote: > We recently ran into a slightly unexpected side-effect where we > exported a variable in a jobfile, like so: > > # job1 > env VAR=1 > export VAR > > # job2 > start on job1 > > And $VAR was visible from job2 with the value set in job1 (in this > case $VAR => 1). Is that intended behavior? > That's what export does. It places the value of the named environment variables into the event environment.
What were you using it for? :) Scott -- Have you ever, ever felt like this? Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
