Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
a050cfd7
Unverified
Commit
a050cfd7
authored
Nov 07, 2019
by
Stefan Hornburg (Racke)
Browse files
Barf on missing data source when using --sync_include commandline option.
parent
f1267e7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sbin/sympa.pl.in
View file @
a050cfd7
...
...
@@ -884,6 +884,14 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) {
exit
1
;
}
my
$result
=
$list
->
sync_include
();
if
(
$result
==
0
)
{
printf
STDERR
"
No data sources defined for inclusion into list %s.
\n
",
$list
->
get_id
;
exit
1
;
}
unless
(
defined
$list
->
sync_include
())
{
print
STDERR
"
Failed to synchronize list members
\n
";
exit
1
;
...
...
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