Don't lockdown on upgrade
This commit is contained in:
parent
b432410716
commit
6e57b1b33b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue