mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-31 01:24:58 +02:00
Fix some bug.
This commit is contained in:
parent
5ac0f976c9
commit
02a9a64fc0
@ -155,8 +155,9 @@ while [[ $# > 0 ]]; do
|
|||||||
--init)
|
--init)
|
||||||
INIT_G_CONFIG=1
|
INIT_G_CONFIG=1
|
||||||
;;
|
;;
|
||||||
--final
|
--final)
|
||||||
FINAL_G_CONFIG=1
|
FINAL_G_CONFIG=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
@ -231,7 +232,7 @@ if [ $FINAL_G_CONFIG -eq 1 ]; then
|
|||||||
aide --init
|
aide --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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If --allow-service-list is specified, don't run anything, just list the supported services
|
# If --allow-service-list is specified, don't run anything, just list the supported services
|
||||||
|
Loading…
x
Reference in New Issue
Block a user