Skip to content
Snippets Groups Projects
Commit 93d1c57f authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- minor fix

parent e682e3fe
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ sub validate_args { ...@@ -29,6 +29,7 @@ sub validate_args {
my ($self, $opt, $args) = @_; my ($self, $opt, $args) = @_;
# no args allowed but options! # no args allowed but options!
$self->usage_error("No args allowed") if @$args; $self->usage_error("No args allowed") if @$args;
1;
} }
sub execute { sub execute {
...@@ -65,6 +66,7 @@ RETRY: ...@@ -65,6 +66,7 @@ RETRY:
YAML::DumpFile($fh, \%config); YAML::DumpFile($fh, \%config);
$fh->close; $fh->close;
} }
return 1;
} }
1; 1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment