mirror of
https://github.com/troglobit/libite.git
synced 2026-10-16 10:39:30 +00:00
test: fix build warnings for most tests
Let rsync.c continue to warn, it's not complete ... Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
75139cdf3c
commit
ef4a8691d3
4 files changed
+16
-13
No files matched your search
@@ -17,12 +17,16 @@ static struct stat before, after;
|
||||
|
||||
static void sigterm_handler(int signo)
|
||||
{
|
||||
(void)signo;
|
||||
|
||||
PRINT("Exiting ...\n");
|
||||
remove(PIDFILE);
|
||||
}
|
||||
|
||||
static void sigalrm_handler(int signo)
|
||||
{
|
||||
(void)signo;
|
||||
|
||||
PRINT("Calling pidfile(%s)\n", pidfile_arg ?: "NULL");
|
||||
if (pidfile(pidfile_arg))
|
||||
err(1, "failed creating1 %s", pidfile_arg);
|
||||
|
||||
Reference in new issue
Block a user