From: fpunktk Date: Sat, 30 Dec 2017 11:22:13 +0000 (+0100) Subject: use err() in die() X-Git-Url: https://fpunktk.de/gitweb/?a=commitdiff_plain;h=cefe79bef00326812158734dbad1686f90439af9;p=anondcim.git use err() in die() --- 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() {