commit:     0044855b15dbd4fc5be9195f6dd519215c213966
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 22:34:53 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 22:34:53 2021 +0000
URL:        https://gitweb.gentoo.org/proj/rpm2targz.git/commit/?id=0044855b

rpm2tar: have error messages say "error"

This makes it clear that we're aborting & exiting non-zero.

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 rpm2targz | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rpm2targz b/rpm2targz
index b8b4b69..1d3677b 100755
--- a/rpm2targz
+++ b/rpm2targz
@@ -23,7 +23,7 @@
 
 argv0=${0##*/}
 warn() { echo "${argv0}: warning: $*" 1>&2; }
-err()  { echo "${argv0}: warning: $*" 1>&2; exit 1; }
+err()  { echo "${argv0}: error: $*" 1>&2; exit 1; }
 
 usage=false
 stdout=false

Reply via email to