Skip to content
Snippets Groups Projects
Commit f1f7e783 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

pridano nacitani adresare lib a modulu WardenClient.pm pomoci promenne __FILE__

parent 44c48635
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,11 @@ use warnings;
use Switch;
use DateTime;
use File::Basename;
my $warden_path = '/opt/warden-client';
require $warden_path . '/lib/WardenClient.pm';
my $bin = File::Basename::dirname(__FILE__);
use lib "$bin/../lib";
use WardenClient;
my $service = "test";
# service is needed in authorization process of the client,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment