From a10485de7d100b32db633db636d1644224da20ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Pollak?= Date: Wed, 9 Jan 2013 17:26:40 -0300 Subject: [PATCH] Do not use -k in Linux config curl call. --- platform/linux/prey-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux/prey-config.py b/platform/linux/prey-config.py index b09ff9d..7ee9927 100755 --- a/platform/linux/prey-config.py +++ b/platform/linux/prey-config.py @@ -476,7 +476,7 @@ def make_request(self, path, query, user, password): if user and password: data += ' -u "' + user + ':' + password + '"' - command = '/usr/bin/curl -A "' + USER_AGENT + '" -i -s -k --connect-timeout 5 ' + CONTROL_PANEL_URL_SSL + '/' + path + data + command = '/usr/bin/curl -A "' + USER_AGENT + '" -i -s --connect-timeout 5 ' + CONTROL_PANEL_URL_SSL + '/' + path + data # print(command) result = os.popen(command).read().strip() # print(result)