csync2/fix-missing-sentinels.diff
OBS User autobuild a8d2769fe0 Accepting request 42260 from network:ha-clustering:Factory
Copy from network:ha-clustering:Factory/csync2 based on submit request 42260 from user tserong

OBS-URL: https://build.opensuse.org/request/show/42260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/csync2?expand=0&rev=1
2010-06-29 16:02:56 +00:00

14 lines
478 B
Diff

Index: action.c
===================================================================
--- csync2-1.34/action.c 2007-07-25 05:04:18.000000000 +0800
+++ csync2-1.34/action.c 2009-12-04 17:51:47.000000000 +0800
@@ -107,7 +107,7 @@
/* 1 */ open(logfile_clr, O_WRONLY|O_CREAT|O_APPEND, 0666);
/* 2 */ open(logfile_clr, O_WRONLY|O_CREAT|O_APPEND, 0666);
- execl("/bin/sh", "sh", "-c", real_command, 0);
+ execl("/bin/sh", "sh", "-c", real_command, NULL);
_exit(127);
}