Skip to content

Commit

Permalink
Fix the optional WebminCore load (#9)
Browse files Browse the repository at this point in the history
* Oops, screwed up the optional lib load
  • Loading branch information
swelljoe authored Jul 5, 2023
1 parent 63078e6 commit a703159
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jailkit-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ =head1 jailkit-lib.pl
BEGIN { push(@INC, ".."); }
if (eval {require WebminCore;1;} ne 1) {
exit 1;
} else {
WebminCore->import();
}

init_config();

=head2 get_jk_init_ini()
Expand Down

0 comments on commit a703159

Please sign in to comment.