another bug with LDpreload

This commit is contained in:
Sheppy
2016-11-02 22:57:01 +01:00
parent bbd0a0b37b
commit e8ba8804c3

View File

@@ -4,5 +4,5 @@ rc = open("zshrc",'w+')
old = open("zshrc_old",'r')
for line in old:
if line.startswith("LD_PRELOAD="):
line = "LD_PRELOAD='"+os.getcwd()+"'\n"
line = "LD_PRELOAD='"+os.getcwd()+"/libcoloredstderr.so'\n"
rc.write(line)