From 26af41355969b4dc45b78fa53e27305e3b762c53 Mon Sep 17 00:00:00 2001 From: Jonas Meier Date: Sun, 17 May 2020 23:17:24 +0200 Subject: [PATCH] add warning if rsync has a problem --- rsync-timefilter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync-timefilter.pl b/rsync-timefilter.pl index 827a2ac..a284e73 100755 --- a/rsync-timefilter.pl +++ b/rsync-timefilter.pl @@ -45,4 +45,4 @@ $rsync->exec( dst => $rsync_dst, include => [map { $_->{name} } @files], exclude => ['*'], -); +) or warn "rsync failed\n";