summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-dm.c
blob: 3004d8e5f91a59d7955c7173442ce0fd735c1697 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./kdm/backend/dm.c.orig	Sun Mar 24 12:31:09 2002
+++ ./kdm/backend/dm.c	Thu Apr 18 20:53:44 2002
@@ -236,7 +236,6 @@
 	else
 	    break;
     }
-    InitErrorLog (errorLogFile);
 
     /*
      * Only allow root to run in non-debug mode to avoid problems
@@ -246,6 +245,8 @@
 	fprintf (stderr, "Only root wants to run %s\n", prog);
 	exit (1);
     }
+
+    InitErrorLog (errorLogFile);
 
     /*
      * Step 1 - load configuration parameters