Setup ViewCheck

master
Heuzef 5 years ago
parent a07427c0fc
commit 385fc2e1e9
  1. 10
      ViewCheck.pm

@ -30,11 +30,10 @@ use Getopt::Long;
use Statistics::Descriptive; use Statistics::Descriptive;
use Data::Dumper; use Data::Dumper;
my $host = undef; my $host = "localhost";
GetOptions( sub action
"host=s" => \$host {
);
# We need to switch to backuppc UID/GID # We need to switch to backuppc UID/GID
my $uid = getuid(); my $uid = getuid();
@ -143,3 +142,6 @@ print("\n");
print("\n----------------\n"); print("\n----------------\n");
exit(0); exit(0);
}
1;

Loading…
Cancel
Save