From 6e6a6225f629467fdc13aa55b7264881bf8415e8 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Wed, 4 Jan 2023 12:10:54 +0900 Subject: [PATCH] include/inst: Add log module to dependencies The inst module uses functions from the log module without including the module. This commit changes the constructor of the inst module so that the log module is included directly. --- include/inst.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/inst.sh b/include/inst.sh index e5d51e2..872debc 100644 --- a/include/inst.sh +++ b/include/inst.sh @@ -1,7 +1,7 @@ #!/bin/bash # inst.sh - Toolbox module for daemonized scripts -# Copyright (C) 2021-2022 Matthias Kruk +# Copyright (C) 2021-2023 Matthias Kruk # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ __init() { return 1 fi - if ! include "opt" "sem"; then + if ! include "log" "opt" "sem"; then return 1 fi -- 2.47.3