Update addmagnet.sh
Fixes the issue where gtorrent.lock is checked for even if the directory
doesn't exist.
Fix bullshit headers
Merge pull request #84 from gtorrent/wip/fixheaders

Fix bullshit headers
Merge pull request #83 from lluixhi/master

Fixes the issue where gtorrent.lock is checked for even if the directory doesn't exist.
Updated to master and fixed merge conflict