Warning: here-document at line 2 delimited by end-of-file (wanted `EOF')
Issue
When customer run a scirpt below messages will output:
[root@R73 ~]# ./test.sh
./test.sh: line 6: warning: here-document at line 2 delimited by end-of-file (wanted `EOF')
./test.sh: line 7: syntax error: unexpected end of file
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.