checkservice: Fix unable to find pid file
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. ```
Loading
Please register or sign in to comment