]> source.dussan.org Git - gitblit.git/commitdiff
Fix for nasty bug in GitblitUserService
authorJames Moger <james.moger@gitblit.com>
Thu, 22 Dec 2011 02:15:34 +0000 (21:15 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 22 Dec 2011 02:15:34 +0000 (21:15 -0500)
src/com/gitblit/GitblitUserService.java

index 97e1a40cbdbdc630553cf5553b337b5c63f7459c..f675510aa419f21b9488ff9135a94a9315bc263a 100644 (file)
@@ -72,7 +72,7 @@ public class GitblitUserService implements IUserService {
 \r
                assert service != null;\r
 \r
-               if (realmFile.exists()) {\r
+               if (!realmFile.exists()) {\r
                        // Create the Administrator account for a new realm file\r
                        try {\r
                                realmFile.createNewFile();\r