aboutsummaryrefslogblamecommitdiff
path: root/sysutils/bacula/files/patch-filed.c
blob: d52d994a8b24a592cad3f8fd67cfa15f81f08175 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                
--- src/filed/filed.c	23 Dec 2003 20:23:15 -0000	1.21
+++ src/filed/filed.c	2 Jan 2004 17:21:21 -0000	1.22
@@ -211,10 +211,10 @@
       init_stack_dump();	      /* set new pid */
    }
 
-   drop(uid, gid);
-
    /* Maximum 1 daemon at a time */
    create_pid_file(me->pid_directory, "bacula-fd", me->FDport);
+
+   drop(uid, gid);
 
 #ifdef BOMB
    me += 1000000;