From cefe79bef00326812158734dbad1686f90439af9 Mon Sep 17 00:00:00 2001 From: fpunktk Date: Sat, 30 Dec 2017 12:22:13 +0100 Subject: [PATCH] use err() in die() --- anondcim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/anondcim b/anondcim index a2ab374..f8ca87c 100755 --- a/anondcim +++ b/anondcim @@ -18,13 +18,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -die() { +err() { echo "$*" >&2 - exit 1 } -err() { - echo "$*" >&2 +die() { + err "$*" + exit 1 } rand() { -- 2.30.2