Skip to content
Unverified Commit 13c01e62 authored by Vincent Petry's avatar Vincent Petry
Browse files

Mark $usersSetup only if user was found in initMountPoints

initMountPoints is marking a user as successfully initialized too
early. If the user was not found an NoUserException was thrown, the
second time initMountPoints is called would not rethrow the exception
and happily continue.

This fix makes sure that we consistently throw NoUserException when
initMountPoints is called repeatedly with invalid users.
parent c26145aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment