From 6e57b1b33b3341e9cb63ab1fb1a63b1be05f0473 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sat, 5 Aug 2017 16:59:13 +0100
Subject: [PATCH] Don't lockdown on upgrade

---
 src/freedombone-upgrade | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/freedombone-upgrade b/src/freedombone-upgrade
index f855433b3..cdf44f064 100755
--- a/src/freedombone-upgrade
+++ b/src/freedombone-upgrade
@@ -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
-- 
GitLab