Skip to content

Commit 5b5d79b

Browse files
committed
Fix sympa config command return code to be 0 when there are no changes
1 parent ea8592c commit 5b5d79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Sympa/CLI/config.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sub _run {
6565
only_changed => 1,
6666
filter => ([@{$options->{output} // []}, qw(explicit mandatory)])
6767
);
68-
die "Not changed.\n" unless defined $out;
68+
return 1 unless defined $out;
6969

7070
my $sympa_conf = Sympa::Constants::CONFIG();
7171
my $date = POSIX::strftime('%Y%m%d%H%M%S', localtime time);

0 commit comments

Comments
 (0)