mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
borgbackup mtime fix for repo (#496)
This commit is contained in:
committed by
GitHub
parent
f20430637f
commit
f6d6ff5b88
@@ -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;
|
||||
|
Reference in New Issue
Block a user