diff options
author | Tim Harder <radhermit@gmail.com> | 2015-01-26 22:15:55 -0800 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2015-01-26 22:30:35 -0800 |
commit | 8e97878fe7607f39969993eab0d6d3d7c5a56ad9 (patch) | |
tree | c5644a02ec5d911236d016a50e70403f34c93ada | |
parent | ebuild-daemon: exit on spurious commands during ebuild processing (diff) | |
download | pkgcore-8e97878fe7607f39969993eab0d6d3d7c5a56ad9.tar.gz pkgcore-8e97878fe7607f39969993eab0d6d3d7c5a56ad9.tar.bz2 pkgcore-8e97878fe7607f39969993eab0d6d3d7c5a56ad9.zip |
ebuild-daemon: handle shutdown_daemon signals during phase processing
Otherwise they fall into the "received unknown com" case which isn't
quite the same as receiving a direct signal to stop.
-rwxr-xr-x | pkgcore/ebuild/eapi-bash/ebuild-daemon.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgcore/ebuild/eapi-bash/ebuild-daemon.bash b/pkgcore/ebuild/eapi-bash/ebuild-daemon.bash index 87c95e01..75e65f78 100755 --- a/pkgcore/ebuild/eapi-bash/ebuild-daemon.bash +++ b/pkgcore/ebuild/eapi-bash/ebuild-daemon.bash @@ -300,6 +300,9 @@ __ebd_process_ebuild_phases() { fi cont=2 ;; + shutdown_daemon) + break + ;; *) echo "received unknown com during phase processing: ${line}" >&2 exit 1 |