Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Do not use -k in Linux config curl call.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed May 8, 2013
1 parent 1ab8a5f commit a10485d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linux/prey-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a10485d

Please sign in to comment.