Skip to content

Commit

Permalink
borgbackup mtime fix for repo (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
VVelox authored Nov 19, 2023
1 parent f204306 commit f6d6ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmp/borgbackup
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ foreach my $repo (@repos) {

if ($process) {
my ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks )
= stat( $config->{$repo}{repo} );
= stat( $config->{$repo}{repo} . '/nonce' );

my $time_diff = time - $mtime;
$repo_info->{time_since_last_modified} = $time_diff;
Expand Down

0 comments on commit f6d6ff5

Please sign in to comment.