Skip to content
  • Seblu's avatar
    checkservice: Fix unable to find pid file · 1d2ce0e4
    Seblu authored
    When unit_path is sent to sed to workaround some chars in path,
    the escaped characters was decoded by printf and characters
    like \x2d were substitued by -, leading to an invalid path.
    
    Error was:
    ```
    $ checkservice
    Error:: Unable to find pid file for openvpn-client@vpn.seblu.net.service.
    ```
    1d2ce0e4