mirror of
https://github.com/ovh/debian-cis.git
synced 2025-04-28 03:45:29 +02:00
Expand tabs to 4 spaces and trim trailing spaces
This commit is contained in:
parent
d2a8b2cb28
commit
02f0e30df1
src
6
src/skel
6
src/skel
@ -31,9 +31,9 @@ if [ -r /etc/default/cis-hardening ]; then
|
|||||||
. /etc/default/cis-hardening
|
. /etc/default/cis-hardening
|
||||||
fi
|
fi
|
||||||
if [ -z "$CIS_ROOT_DIR" ]; then
|
if [ -z "$CIS_ROOT_DIR" ]; then
|
||||||
echo "There is no /etc/default/cis-hardening file nor cis-hardening directory in current environment."
|
echo "There is no /etc/default/cis-hardening file nor cis-hardening directory in current environment."
|
||||||
echo "Cannot source CIS_ROOT_DIR variable, aborting."
|
echo "Cannot source CIS_ROOT_DIR variable, aborting."
|
||||||
exit 128
|
exit 128
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Main function, will call the proper functions given the configuration (audit, enabled, disabled)
|
# Main function, will call the proper functions given the configuration (audit, enabled, disabled)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user