From 1233b20103a2b5fb8ce33e048682e3977684838a Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Fri, 7 Apr 2023 13:26:46 +0300 Subject: [PATCH] Fix stamp file opening mode --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index 96467fe..a6d0137 100755 --- a/backup +++ b/backup @@ -82,7 +82,7 @@ while (@levels) { } run_rsnapshot($nextlevel); # touch stamp file - open my $stamp, ">+","$snapshot_root/${nextlevel}-stamp"; + open my $stamp, ">>","$snapshot_root/${nextlevel}-stamp"; close $stamp; } run_rsnapshot($level); -- 2.39.5