From: Matthias Kruk Date: Wed, 4 Jan 2023 03:10:54 +0000 (+0900) Subject: include/inst: Add log module to dependencies X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=6e6a6225f629467fdc13aa55b7264881bf8415e8;p=toolbox 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. --- 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