Opened 20 years ago
Closed 20 years ago
#1613 closed patch (fixed)
mythfilldatabasecron script has invalid mail command
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The mail command in the mythfilldatabasecron script uses the here document <<-END that allows for indentation by stripping out all leading tab characters. However, spaces appear to have been used for indentation, preventing the here document to function properly (spaces aren't stripped) and resulting in "syntax error: unexpected end of file" upon execution.
I'm attaching a patch that has tabs substituted for the leading spaces.
Here's a link to the script: http://svn.mythtv.org/trac/browser/trunk/mythtv/configfiles/mythfilldatabasecron
Attachments (1)
Note:
See TracTickets
for help on using tickets.

Patch for mythfilldatabasecron - fixes the here document in the mail command