commit:     bf7e5ccf3f804db70cabf0c15a2945463853ecb9
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 17:19:09 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 12 17:19:09 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=bf7e5ccf

estrip: Style tweak

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

 bin/estrip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/estrip b/bin/estrip
index 6026c7f76..8a2f5adc1 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -114,7 +114,7 @@ while [[ $# -gt 0 ]] ; do
                exit 0
                ;;
        --dequeue)
-               [[ -n ${2} ]] && die "${0##*/}: --dequeue takes no additional 
arguments"
+               [[ $# -eq 1 ]] || die "${0##*/}: $1 takes no additional 
arguments"
                break
                ;;
        --prepallstrip)

Reply via email to