killUserProcesses: was not killing User processes

Version 1.54

Bugfix
Finished

Bug was introduced into the code on December 13, 2017, released in DirectAdmin 1.53.0 on March 14, 2018. The function to kill all User processes aborted early due to incorrect UID check. Related error message; killUserProcess::Cannot find home directory for user 'username'. Does this User exist?

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