IMP(shellcheck): add prefix to follow scripts (SC1090)

This commit is contained in:
Thibault Ayanides
2020-12-07 13:26:51 +01:00
parent 72bb3e2b84
commit addd48c4dd
4 changed files with 13 additions and 5 deletions

View File

@ -74,7 +74,7 @@ fi
# Main function, will call the proper functions given the configuration (audit, enabled, disabled)
if [ -r "$CIS_ROOT_DIR"/lib/main.sh ]; then
# shellcheck source=/opt/debian-cis/lib/main.sh
# shellcheck source=../../lib/main.sh
. "$CIS_ROOT_DIR"/lib/main.sh
else
echo "Cannot find main.sh, have you correctly defined your root directory? Current value is $CIS_ROOT_DIR in /etc/default/cis-hardening"