commit:     b2d7c42e744cee752b2ad364c98e1d5541316732
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 17:06:52 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 17:06:52 2023 +0000
URL:        https://gitweb.gentoo.org/proj/eselect.git/commit/?id=b2d7c42e

Remove useless exit message

* bin/eselect.in (trap): Don't output a message, because die()
is verbose enough. Thanks to Florian Schmaus for the suggestion.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ChangeLog      | 5 +++++
 bin/eselect.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7bb4ea4..3057a22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-16  Ulrich Müller  <u...@gentoo.org>
+
+       * bin/eselect.in (trap): Don't output a message, because die()
+       is verbose enough. Thanks to Florian Schmaus for the suggestion.
+
 2023-03-14  Florian Schmaus  <f...@gentoo.org>
 
        * modules/kernel.eselect (do_update, describe_update)

diff --git a/bin/eselect.in b/bin/eselect.in
index 888977c..7a74098 100755
--- a/bin/eselect.in
+++ b/bin/eselect.in
@@ -73,7 +73,7 @@ inherit manip output path-manipulation tests
 
 # Sneaky trick to make die in subshells work. If you don't get
 # it, don't ask...
-trap 'echo "exiting" >&2; exit 250' 15
+trap 'exit 250' 15
 
 # es_do_usage
 # Display eselect usage

Reply via email to