Unverified Commit e3ee3668 authored by Stefan Hornburg (Racke)'s avatar Stefan Hornburg (Racke)
Browse files

Use explicit check for included data sources.

parent a050cfd7
......@@ -884,9 +884,7 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) {
exit 1;
}
my $result = $list->sync_include();
if ($result == 0) {
unless ($list->has_include_data_sources) {
printf STDERR "No data sources defined for inclusion into list %s.\n",
$list->get_id;
exit 1;
......
Markdown is supported
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