Nonsense
This commit is contained in:
parent
9e02d6a154
commit
a68b857766
|
@ -707,7 +707,11 @@ Var
|
||||||
Begin
|
Begin
|
||||||
WriteLn ('[-] Updating user database...');
|
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');
|
Assign (OldUserFile, Config.DataPath + 'users.old');
|
||||||
Reset (OldUserFile);
|
Reset (OldUserFile);
|
||||||
|
|
Loading…
Reference in New Issue