code cleanup: force local var before calling a for loop, make sure it's unset when no longer needed
This commit is contained in:
@@ -110,6 +110,8 @@ prnt() {
|
||||
;;
|
||||
esac
|
||||
echo -e "${IWhite}$(date $DATEFORMAT)${DEFAULTFG} ${heads} $@"
|
||||
|
||||
unset heads
|
||||
}
|
||||
export -f prnt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user