diff options
author | James Moger <james.moger@gitblit.com> | 2011-12-21 21:15:34 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-12-21 21:15:34 -0500 |
commit | e3d0d4642a8b5a1a9b9b492cdd033896ef787871 (patch) | |
tree | e78c6c5744b515848dc044e852d3419496340f6d /src/com | |
parent | 0b911946c4d81df6c8f411089f2e3036b4251e2b (diff) | |
download | gitblit-e3d0d4642a8b5a1a9b9b492cdd033896ef787871.tar.gz gitblit-e3d0d4642a8b5a1a9b9b492cdd033896ef787871.zip |
Fix for nasty bug in GitblitUserService
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/gitblit/GitblitUserService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/GitblitUserService.java b/src/com/gitblit/GitblitUserService.java index 97e1a40c..f675510a 100644 --- a/src/com/gitblit/GitblitUserService.java +++ b/src/com/gitblit/GitblitUserService.java @@ -72,7 +72,7 @@ public class GitblitUserService implements IUserService { assert service != null;
- if (realmFile.exists()) {
+ if (!realmFile.exists()) {
// Create the Administrator account for a new realm file
try {
realmFile.createNewFile();
|