From d202334ef8bb14fe599774993f307d396c94d81a Mon Sep 17 00:00:00 2001 From: Heuzef Date: Thu, 19 Sep 2019 14:57:33 +0200 Subject: [PATCH] add comments --- check_size_consistency.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check_size_consistency.pl b/check_size_consistency.pl index e17f8b4..dad865c 100644 --- a/check_size_consistency.pl +++ b/check_size_consistency.pl @@ -12,8 +12,10 @@ my (undef,undef,$bkpuid,$bkpgid) = getpwnam('backuppc'); setuid($bkpuid) if ($uid ne $bkpuid); setgid($bkpgid) if ($gid ne $bkpgid); +# Precise the host to check my $host = $ARGV[0]; +# Get values my $bpc = BackupPC::Lib->new(); my @backups = $bpc->BackupInfoRead($host); my $mainConf = $bpc->ConfigDataRead();