working symlink

This commit is contained in:
Michel Oosterhof
2015-02-10 11:54:41 +00:00
parent 8ae224e1ef
commit 8a76cf82d8

View File

@@ -160,7 +160,7 @@ class command_wget(HoneyPotCommand):
else:
print "deleting " + self.safeoutfile + " SHA sum: " + shasum
os.remove(self.safeoutfile)
os.symlink( hash_path, self.safeoutfile )
os.symlink( shasum, self.safeoutfile )
self.safeoutfile = hash_path
print "Updating realfile to " + hash_path