From e5ca66fb1a8e2ab70c573a2af965ffd5a9dfc73f Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Mon, 9 Oct 2023 20:44:14 -0500 Subject: [PATCH] Stable 1.1 (#16) * Fix stable-rpm action name and bump revision (#12) * Undo that dumb boilerplate, gotta figure out a better way (#14) * Mark stable version 1.1 (#15) --- jailkit-lib.pl | 6 +----- module.info | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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(); diff --git a/module.info b/module.info index c9f30f1..e5fcc45 100644 --- a/module.info +++ b/module.info @@ -2,4 +2,4 @@ name=Jailkit desc=Jailkit Jail Manager os_support=*-linux category=system -version=1.0 +version=1.1 \ No newline at end of file