1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-02-28 06:13:03 +01:00

Remove an accidential change from debugging

This commit is contained in:
Spencer McIntyre 2017-02-14 13:28:50 -05:00
parent 85c16b04b3
commit c78eb1d785

View File

@ -1139,7 +1139,7 @@ class PythonMeterpreter(object):
resp += tlv_pack(reqid_tlv)
return tlv_pack_response(result, resp)
if not hasattr(os, 'fork') or (hasattr(os, 'fork') ):#and os.fork() == 0):
if not hasattr(os, 'fork') or (hasattr(os, 'fork') and os.fork() == 0):
if hasattr(os, 'setsid'):
try:
os.setsid()