mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-31 01:24:58 +02:00
Fix #54: hardening.sh: line 275: [: missing ]
This commit is contained in:
parent
e00770d5ff
commit
2d83a6a34e
@ -272,8 +272,10 @@ if [ $FINAL_G_CONFIG -eq 1 ]; then
|
|||||||
info "Will reinitialize the AIDE database"
|
info "Will reinitialize the AIDE database"
|
||||||
if [ $OS_RELEASE -eq 1 -o $OS_RELEASE -eq 3 ]; then
|
if [ $OS_RELEASE -eq 1 -o $OS_RELEASE -eq 3 ]; then
|
||||||
aideinit
|
aideinit
|
||||||
elif [ $OS_RELEASE -eq 2]; then
|
elif [ $OS_RELEASE -eq 2 ]; then
|
||||||
aide --init
|
aide --init
|
||||||
|
else
|
||||||
|
aide --config /etc/aide/aide.conf --init
|
||||||
mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
|
mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user