From d4cb364fd04250d3433fd7801b9fb64207de49df Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 28 Oct 2020 11:42:17 -0400 Subject: Remove local from shell script Not POSIX, it seems. --- git-fetch-email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-fetch-email.sh b/git-fetch-email.sh index 168dd7a..3272a2b 100644 --- a/git-fetch-email.sh +++ b/git-fetch-email.sh @@ -95,7 +95,7 @@ fetch() { ${to:+-T "${to}"} \ ${cc:+-C "${cc}"} \ ${user} - local status=$? + status=$? if [ $status -ne 78 ]; then description | git credential approve else -- cgit 1.4.1