From 096cf0fa78786ccf796656527fa44efd9a62d878 Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Mon, 14 Jun 2021 19:59:37 +0300 Subject: [PATCH] unset nested functions --- util/notegrep.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/notegrep.sh b/util/notegrep.sh index cbae2e9..5af5f4d 100644 --- a/util/notegrep.sh +++ b/util/notegrep.sh @@ -163,6 +163,8 @@ function notegrep() { do_grep unset GREP_OPTIONS + unset -f check_params + unset -f do_grep cd $DIR return 0 }