Fix some bug.

This commit is contained in:
Samson-W 2019-09-24 18:17:57 +08:00
parent 5ac0f976c9
commit 02a9a64fc0
1 changed files with 3 additions and 2 deletions

View File

@ -155,8 +155,9 @@ while [[ $# > 0 ]]; do
--init)
INIT_G_CONFIG=1
;;
--final
--final)
FINAL_G_CONFIG=1
;;
*)
usage
;;
@ -231,7 +232,7 @@ if [ $FINAL_G_CONFIG -eq 1 ]; then
aide --init
mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
fi
exit 0
fi
# If --allow-service-list is specified, don't run anything, just list the supported services