Commit 3e8065da authored by tbrehm's avatar tbrehm
Browse files

Copy jailkit config files only if the jailkit config directory exists.

parent 8b5ccd30
......@@ -190,7 +190,7 @@ class installer_base {
$jk_init = $cf['jk_init'];
$jk_chrootsh = $cf['jk_chrootsh'];
if (!is_dir($config_dir))
if (is_dir($config_dir))
{
copy($config_dir.'/'.$jk_init, $config_dir.'/'.$jk_init.'~');
copy($config_dir.'/'.$jk_chrootsh.".master", $config_dir.'/'.$jk_chrootsh.'~');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment