From 0ab8800813f86d128b31122833d92ae3c6104d04 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 22 Nov 2022 11:39:00 +0800 Subject: [PATCH] Update index.py --- plugins/postgresql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/postgresql/index.py b/plugins/postgresql/index.py index 0f9cf5971..edc7bda28 100755 --- a/plugins/postgresql/index.py +++ b/plugins/postgresql/index.py @@ -124,7 +124,7 @@ def getDbPort(): def getSocketFile(): - sock_name = 's.PGSQL.' + getDbPort() + sock_name = '.s.PGSQL.' + getDbPort() sock_tmp = '/tmp/' + sock_name if os.path.exists(sock_tmp): return sock_tmp