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

Barf on missing data source when using --sync_include commandline option.

parent f1267e7d
......@@ -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",
exit 1;
unless (defined $list->sync_include()) {
print STDERR "Failed to synchronize list members\n";
exit 1;
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