Task #112828 - fixed.err

back to task #112828
download
Error: SHELLCHECK_WARNING (CWE-457):
/usr/lib/dracut/modules.d/99unbound/module-setup.sh:20:18: warning[SC2154]: moddir is referenced but not assigned.
#   18|       # there is a synchronization point when other services are able
#   19|       # to make queries
#   20|->     inst_simple "$moddir"/unbound-initrd.conf /etc/systemd/system/unbound.service.d/unbound-initrd.conf
#   21|   
#   22|       # /etc and /var/lib do not have its variables

Error: SHELLCHECK_WARNING (CWE-457):
/usr/lib/dracut/modules.d/99unbound/module-setup.sh:43:27: warning[SC2154]: initdir is referenced but not assigned.
#   41|       unbound-control
#   42|   
#   43|->     $SYSTEMCTL -q --root "$initdir" enable unbound.service
#   44|   }