bastille: Load config only from commons.sh

Since all files source common.sh anyway, we don't want to source the config twice.
This commit is contained in:
tschettervictor
2025-03-02 11:23:35 -07:00
parent 4a1fb4bf89
commit 454288b2b1
37 changed files with 12 additions and 48 deletions

View File

@@ -31,7 +31,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
. /usr/local/share/bastille/common.sh
load_config
usage() {
error_notify "Usage: bastille jcp [option(s)] SOURCE_JAIL JAIL_PATH DEST_JAIL JAIL_PATH"