Skip to content

Commit

Permalink
Use explicit check for included data sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Nov 8, 2019
1 parent a050cfd commit 7a17efa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sbin/sympa.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -884,9 +884,7 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) {
exit 1;
}

my $result = $list->sync_include();

if ($result == 0) {
unless ($self->has_include_data_sources) {
printf STDERR "No data sources defined for inclusion into list %s.\n",
$list->get_id;
exit 1;
Expand Down

0 comments on commit 7a17efa

Please sign in to comment.