From: Victor Wagner Date: Fri, 7 Apr 2023 10:26:46 +0000 (+0300) Subject: Fix stamp file opening mode X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1233b20103a2b5fb8ce33e048682e3977684838a;p=oss%2Frestore.git Fix stamp file opening mode --- 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);