Update index.py

This commit is contained in:
midoks
2023-08-05 00:45:04 +08:00
parent d1e2781eb9
commit cafe58f3fc
-1
View File
@@ -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')