summaryrefslogtreecommitdiff
path: root/sysutils/bacula-server/files/patch-stored.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula-server/files/patch-stored.c')
-rw-r--r--sysutils/bacula-server/files/patch-stored.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/bacula-server/files/patch-stored.c b/sysutils/bacula-server/files/patch-stored.c
new file mode 100644
index 000000000000..cba541955e29
--- /dev/null
+++ b/sysutils/bacula-server/files/patch-stored.c
@@ -0,0 +1,14 @@
+--- src/stored/stored.c 23 Dec 2003 20:23:15 -0000 1.25
++++ src/stored/stored.c 2 Jan 2004 17:21:21 -0000 1.26
+@@ -185,9 +185,9 @@
+ init_stack_dump(); /* pick up new pid */
+ }
+
+- drop(uid, gid);
+-
+ create_pid_file(me->pid_directory, "bacula-sd", me->SDport);
++
++ drop(uid, gid);
+
+ /* Ensure that Volume Session Time and Id are both
+ * set and are both non-zero.