From 8a8d2d7644c275cea599ac91d2d83154c91547a9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Sep 2017 14:28:13 +0200 Subject: bin/interpret-mail: make "err" local --- bin/interpret-mail | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/interpret-mail b/bin/interpret-mail index 92725b6..e515b3c 100755 --- a/bin/interpret-mail +++ b/bin/interpret-mail @@ -61,6 +61,8 @@ log_from_file() { } run_and_log_on_error() { + # shellcheck disable=SC2039 + local err err=0 "$@" 2> "${tmp_dir}/stderr" > "${tmp_dir}/stdout" || \ err=$? -- cgit v1.2.3-70-g09d2