From cafe58f3fce6e8df996090eb46fb32c6f10334b4 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 5 Aug 2023 00:45:04 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 5e5563f0c..5eb4e22b4 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -175,7 +175,6 @@ def makeInitRsaKey(version=''): rdata = mw.execShell( 'cd ' + datadir + ' && openssl rsa -in mysql.pem -pubout -out mysql.pub') # print(rdata) - if not mw.isAppleSystem(): mw.execShell('cd ' + datadir + ' && chmod 400 mysql.pem') mw.execShell('cd ' + datadir + ' && chmod 444 mysql.pub')