瀏覽代碼

Don't lockdown on upgrade

Bob Mottram 8 年之前
父節點
當前提交
6e57b1b33b
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      src/freedombone-upgrade

+ 1
- 3
src/freedombone-upgrade 查看文件

13
 # License
13
 # License
14
 # =======
14
 # =======
15
 #
15
 #
16
-# Copyright (C) 2015-2016 Bob Mottram <bob@freedombone.net>
16
+# Copyright (C) 2015-2017 Bob Mottram <bob@freedombone.net>
17
 #
17
 #
18
 # This program is free software: you can redistribute it and/or modify
18
 # This program is free software: you can redistribute it and/or modify
19
 # it under the terms of the GNU Affero General Public License as published by
19
 # it under the terms of the GNU Affero General Public License as published by
97
 
97
 
98
         ${PROJECT_NAME} -c $CONFIGURATION_FILE
98
         ${PROJECT_NAME} -c $CONFIGURATION_FILE
99
         if [ ! "$?" = "0" ]; then
99
         if [ ! "$?" = "0" ]; then
100
-            lockdown_permissions
101
             exit 453536
100
             exit 453536
102
         fi
101
         fi
103
 
102
 
104
-        lockdown_permissions
105
         defrag_filesystem
103
         defrag_filesystem
106
     fi
104
     fi
107
 fi
105
 fi