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 Data::Dumper;
my $host = undef;
my $host = "localhost";
GetOptions(
"host=s" => \$host
);
sub action
{
# We need to switch to backuppc UID/GID
my $uid = getuid();
@ -143,3 +142,6 @@ print("\n");
print("\n----------------\n");
exit(0);
}
1;

Loading…
Cancel
Save