Describe [ -e $lockfile -a "$FLAG2" = ""? here.
No other page links to [ -e $lockfile -a "$FLAG2" = "" yet.