5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2024-12-23 17:34:10 +03:00

cleanup: ReplicationConfig: be specific about write_config

Since it doesn't write but returns the text to be written,
let's be specific about the fact that we're returning a
value.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2018-05-14 13:51:24 +02:00
parent 48b638587f
commit 24691c2141

View File

@ -170,7 +170,7 @@ sub write_config {
if defined($data->{comment});
}
$class->SUPER::write_config($filename, $cfg);
return $class->SUPER::write_config($filename, $cfg);
}
sub new {