Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
03fb8372
Commit
03fb8372
authored
Apr 28, 2011
by
Patrick J Cherry
Browse files
Added extra directory check for crontab wrapper.
parent
d16ae5cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
cron/wrapper/symbiosis-all-crontabs.c
View file @
03fb8372
...
...
@@ -162,6 +162,19 @@ void process_domains( const char *dirname )
printf
(
"
\t
stat( /srv/%s ) - failed
\n
"
,
entry
);
continue
;
}
else
{
if
(
!
S_ISDIR
(
domain
.
st_mode
)
)
{
if
(
g_verbose
)
printf
(
"
\t
Ignoring as %s is not a directory
\n
"
,
entry
);
continue
;
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment