Skip to content
Snippets Groups Projects
Forked from leap / bitmask-vpn
726 commits behind the upstream repository.
  • meskio's avatar
    5b6bb5ce
    [bug] accept corrupted pid files · 5b6bb5ce
    meskio authored and Kali Kaneko's avatar Kali Kaneko committed
    A corrupted pid file, or a file that contains something else than a pid
    number used to block bitmask-vpn from launch. Now if the file contains
    something that is not expected it will log it and rewrite it.
    
    I refactor de code so the pid file will be released on quit instead of
    initialization.
    
    - Resolves: #349
    [bug] accept corrupted pid files
    meskio authored and Kali Kaneko's avatar Kali Kaneko committed
    A corrupted pid file, or a file that contains something else than a pid
    number used to block bitmask-vpn from launch. Now if the file contains
    something that is not expected it will log it and rewrite it.
    
    I refactor de code so the pid file will be released on quit instead of
    initialization.
    
    - Resolves: #349
api.go 3.28 KiB