Comment 20 for bug 525674

Revision history for this message
Scott Moser (smoser) wrote :

hey. saw this in my inbox, and very happy! thank you for working on this.

one note, in update-notifier-3.164/data/update-motd-updates-available

+ trap cleanup EXIT
+ tmpfile=$(mktemp)

if tmpfile was set in the environment prior to this program running, and you exited for some reason between those two, then you'd rm the previously set 'tmpfile'.

the easy fix is to just declare 'tmpfile=' before trapping cleanup.