session_create_pre.sh triggering 3 times during login

Version 1.62.0

Bugfix
Finished

The custom script,if exists: /usr/local/directadmin/scripts/custom/session_create_pre.sh was being triggered up to 3 times for 1 session based login as there was no check for existing file prior to the trigger. ---- FIX: Only call it if the file does not yet exist. ---- T29369

Interested to try DirectAdmin? Get a 30-day Free Trial!