From 24691c2141998ae84e2cd968a700df2bd3792695 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 14 May 2018 13:51:24 +0200 Subject: [PATCH] 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 --- PVE/ReplicationConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/ReplicationConfig.pm b/PVE/ReplicationConfig.pm index eb98f78..d597799 100644 --- a/PVE/ReplicationConfig.pm +++ b/PVE/ReplicationConfig.pm @@ -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 { -- 2.39.2