Notify weirdness

Banana Lord

Member
Can anyone suggest a reason as to why I get two kmails rather than one whenever someone starts using Harvest.ash? One describes it as Harvest.ash, and the other as harvest.ash (note the change in capitalisation).
 

fronobulax

Developer
Staff member
My observation has been that notify is case sensitive when deciding whether a particular script has been run before (and thus requires mail). If the user runs harvest from the cli and Harvest from the scripts menu I would expect both of them to generate kmail. Hypothesis based upon observation and not on looking at code.
 

Banana Lord

Member
Ah OK. The relay script uses cli_execute() to run the main script (because I don't want to have to import Harvest.ash every time the relay script runs). Could I get around it by using script "Harvest.ash";?
 
Last edited:
Top