corona_virus icon indicating copy to clipboard operation
corona_virus copied to clipboard

Some minor internal error message cleanup.

Open don-splunk opened this issue 4 years ago • 0 comments

Hi,

Found that _internal was getting error messages everytime update_git.sh ran. Turns out git sends some of its output to stderr instead of stdout. This probably makes sense in some situations where the script running git wants to do something with the output, but here just adds confusion to _internal, and means the output of the scripted input is missing some data.

Fixed by adding 2>&1 to the end of the two lines running git.

In the process I got a bit pedantic and added #!/bin/sh to the first line of both scripts....just because. :)

Finally since lookups/update_daily.sh was not in the repository, I added the link so git status is cleaner.

Don

don-splunk avatar May 09 '20 17:05 don-splunk