Don't lockdown on upgrade

This commit is contained in:
Bob Mottram 2017-08-05 16:59:13 +01:00
parent b432410716
commit 6e57b1b33b
1 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,7 @@
# License
# =======
#
# Copyright (C) 2015-2016 Bob Mottram <bob@freedombone.net>
# Copyright (C) 2015-2017 Bob Mottram <bob@freedombone.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
@ -97,11 +97,9 @@ if [ -d $PROJECT_DIR ]; then
${PROJECT_NAME} -c $CONFIGURATION_FILE
if [ ! "$?" = "0" ]; then
lockdown_permissions
exit 453536
fi
lockdown_permissions
defrag_filesystem
fi
fi