mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
86fa2f111f
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
11 lines
548 B
Diff
11 lines
548 B
Diff
--- controller/seafile-controller.c.orig 2015-02-05 13:00:40.096813074 +0100
|
|
+++ controller/seafile-controller.c 2015-02-05 13:03:44.628487779 +0100
|
|
@@ -576,7 +576,7 @@
|
|
static void
|
|
init_pidfile_path (SeafileController *ctl)
|
|
{
|
|
- char *pid_dir = g_build_filename (topdir, "pids", NULL);
|
|
+ char *pid_dir = g_build_filename (ctl->seafile_dir, "pids", NULL);
|
|
if (!g_file_test(pid_dir, G_FILE_TEST_EXISTS)) {
|
|
if (g_mkdir(pid_dir, 0777) < 0) {
|
|
seaf_warning("failed to create pid dir %s: %s", pid_dir, strerror(errno));
|