diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-02 10:02:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-07 17:23:07 +0000 |
commit | 7a2e9745ff3ef6d6360f74b222248d4bd35e6a08 (patch) | |
tree | 27f170b9b66edc6cf9fa2687ce5368fafe4d89af /bin | |
parent | 101690bda7ad55dc0657483233c90c374713755b (diff) | |
download | bitbake-contrib-7a2e9745ff3ef6d6360f74b222248d4bd35e6a08.tar.gz |
toaster: unset environment variables
Toaster script sets environment variables when it starts.
It makes sense to unset them when toaster stops as they can
cause other programs to behave incorrectly.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/toaster | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/toaster b/bin/toaster index 3b5b7f868..6d1ec0573 100755 --- a/bin/toaster +++ b/bin/toaster @@ -128,6 +128,10 @@ stop_system() fi stop_bitbake webserverKillAll + # unset exported variables + unset DATABASE_URL + unset TOASTER_CONF + unset TOASTER_DIR trap - SIGHUP #trap - SIGCHLD INSTOPSYSTEM=0 |