summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-16 18:06:52 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-16 18:06:52 +0100
commitb2d7c42e744cee752b2ad364c98e1d5541316732 (patch)
tree79074f145eb606679247b62faecf488b7774d6d3
parentNew "update" action in kernel module (diff)
downloadeselect-b2d7c42e744cee752b2ad364c98e1d5541316732.tar.gz
eselect-b2d7c42e744cee752b2ad364c98e1d5541316732.tar.bz2
eselect-b2d7c42e744cee752b2ad364c98e1d5541316732.zip
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@gentoo.org>
-rw-r--r--ChangeLog5
-rwxr-xr-xbin/eselect.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bb4ea4..3057a22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-16 Ulrich Müller <ulm@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 <flow@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