Page 1 of 1

send_nrdp.sh: typo in documentation for "-D"?

Posted: Sat Jan 09, 2021 6:05 pm
by thebream
Have just installed NRDP 2.0.3, and looking at send_nrdp.sh:
(also here, https://support.nagios.com/kb/article/n ... t-599.html)

Code: Select all

$ ./send_nrdp.sh -h

send_nrdp.sh Revision 0.6.1 - Send NRDP script for Nagios
<snip>
    Directory:
        -D /path/to/temp/dir
        This is a directory that contains XML files in the format
        above.  Additionally, if the -d flag is specified, send_nrdp.sh
        will create temp files here if the server could not be reached.
        On additional calls with the same -D path, if a connection to
        the server is successful, all temp files will be sent.
Looking at the code in the script, I believe that the help should read
"Additionally, if the -D flag" . . . i.e. uppercase "D"