diff --git a/mystic/109to110.pas b/mystic/109to110.pas index cdfb47c..5399439 100644 --- a/mystic/109to110.pas +++ b/mystic/109to110.pas @@ -707,7 +707,11 @@ Var Begin WriteLn ('[-] Updating user database...'); - ReNameFile(Config.DataPath + 'users.dat', Config.DataPath + 'users.old'); + If Not ReNameFile(Config.DataPath + 'users.dat', Config.DataPath + 'users.old') Then Begin + WriteLn('ERROR: Unable to copy user database. Restore a backup and try again after'); + WriteLn(' eliminating any protential access issues.'); + Halt(1); + End; Assign (OldUserFile, Config.DataPath + 'users.old'); Reset (OldUserFile);