Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

20_github

Blame
    • nimrod's avatar
      9c5bbeb0
      Fix issue with ControlMaster sockets pruning. · 9c5bbeb0
      nimrod authored
      The prune_ssh_sockets shell function would always delete the
      ControlMaster sockets (the open file handlers would have a random suffix
      and the check would always show that the socket wasn't open by any
      process). Instead add a prefix to the ControlMaster sockets and ignore
      them when pruning. Those sockets are always deleted when the process
      exists. Also, mark the vim filetype for the ssh config fragments as
      sshconfig.
      9c5bbeb0
      History
      Fix issue with ControlMaster sockets pruning.
      nimrod authored
      The prune_ssh_sockets shell function would always delete the
      ControlMaster sockets (the open file handlers would have a random suffix
      and the check would always show that the socket wasn't open by any
      process). Instead add a prefix to the ControlMaster sockets and ignore
      them when pruning. Those sockets are always deleted when the process
      exists. Also, mark the vim filetype for the ssh config fragments as
      sshconfig.