diff --git a/jailkit-lib.pl b/jailkit-lib.pl index eb387e8..e8640f3 100644 --- a/jailkit-lib.pl +++ b/jailkit-lib.pl @@ -17,11 +17,7 @@ =head1 jailkit-lib.pl =cut BEGIN { push(@INC, ".."); } -if (eval {require WebminCore;1;} ne 1) { - exit 1; -} else { - WebminCore->import(); -} +eval "use WebminCore;"; init_config();