Skip to content
Snippets Groups Projects
Commit d353927c authored by o's avatar o
Browse files

fix reassign

parent f7d5f359
No related branches found
No related tags found
No related merge requests found
......@@ -29,11 +29,9 @@ define schleuder::list(
}
}
$admin_publickey_missing = !$admin_publickey
$global_search = "${schleuder::adminkeys_path}/${admin}.pub"
if $admin_publickey_missing {
$admin_publickey_missing = file($global_search, '/dev/null') == ''
}
$admin_publickey_missing =
!$admin_publickey and (file($global_search, '/dev/null') == '')
unless $admin_publickey_missing {
if $admin_publickey =~ /^\// {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment