Improve vpn client checker

This commit is contained in:
Julien Vaubourg
2016-08-15 13:22:39 +02:00
parent 0ce8634736
commit df431e8f78
2 changed files with 2 additions and 2 deletions

View File

@@ -36,8 +36,8 @@ function stop_service() {
}
function start_service() {
unlink('/tmp/.ynh-vpnclient-stopped');
exec('sudo systemctl start ynh-vpnclient', $output, $retcode);
unlink('/tmp/.ynh-vpnclient-stopped');
return $retcode;
}