Commit 03fb8372 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Added extra directory check for crontab wrapper.

parent d16ae5cd
......@@ -162,6 +162,19 @@ void process_domains( const char *dirname )
printf("\tstat( /srv/%s ) - failed\n", entry );
continue;
}
else
{
if ( ! S_ISDIR(domain.st_mode) )
{
if ( g_verbose )
printf("\tIgnoring as %s is not a directory\n",
entry);
continue;
}
}
/**
......
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