mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
openssh: style sweep
This commit is contained in:
parent
4ecb723ca4
commit
ee981fdbda
@ -128,8 +128,8 @@ function openssh_configure_do($verbose = false, $interface = '')
|
||||
foreach ($keys as $name) {
|
||||
$file = "/conf/sshd/{$name}";
|
||||
if (!file_exists($file) || !file_exists("{$file}.pub")) {
|
||||
$generate_keys = true;
|
||||
break;
|
||||
$generate_keys = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user