return true at end of initlockdir()

bug because it returns false otherwise quitting the program