From 2ef26d3c396453db806cb6a09604f9af62083571 Mon Sep 17 00:00:00 2001 From: Vitaly Bagno <5454420+veber88@users.noreply.github.com> Date: Sun, 11 Feb 2018 21:02:37 +0200 Subject: [PATCH] Update bash.sh --- languages/bash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/bash.sh b/languages/bash.sh index 60fcd98..10d4d7d 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -400,7 +400,7 @@ function errtrap { echo "ERROR line $1: Command exited with status $es." } -trap 'errtrap $LINENO' ERR # is run whenever a command in the surrounding script or function exists with non-zero status +trap 'errtrap $LINENO' ERR # is run whenever a command in the surrounding script or function exits with non-zero status function dbgtrap { echo "badvar is $badvar"