We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c98095 commit 59dda91Copy full SHA for 59dda91
1 file changed
MerlinAU.sh
@@ -3218,11 +3218,13 @@ _CreateEMailContent_()
3218
if [ $# -eq 0 ] || [ -z "$1" ] ; then return 1 ; fi
3219
local fwInstalledVersion fwNewUpdateVersion
3220
local savedInstalledVersion savedNewUpdateVersion
3221
- local subjectStr emailBodyTitle="" release_version
+ local subjectStrTag subjectStr emailBodyTitle="" release_version
3222
3223
rm -f "$tempEMailContent" "$tempEMailBodyMsg"
3224
3225
- local subjectStrTag="F/W Update Status"
+ if [ -s "$tempNodeEMailList" ]
3226
+ then subjectStrTag="F/W Update Available"
3227
+ else subjectStrTag="F/W Update Status"
3228
if echo "$1" | grep -q '._SCRIPT_UPDATE_.'
3229
then subjectStrTag="Script Update Status"
3230
fi
0 commit comments