From ae314ea15fee4adf2e9e8946a5e6dbdd4870da2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20M=C3=B3dolo?= Date: Mon, 13 Mar 2023 13:44:13 -0300 Subject: [PATCH] Remove confusing log when using custom config file path --- nr_wg_mtu_finder/mtu_finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nr_wg_mtu_finder/mtu_finder.py b/nr_wg_mtu_finder/mtu_finder.py index f1c2030..7d1756a 100644 --- a/nr_wg_mtu_finder/mtu_finder.py +++ b/nr_wg_mtu_finder/mtu_finder.py @@ -167,7 +167,7 @@ class MTUFinder(object): """ self.__validate_conf_file() - msg = f"Setting MTU to {self.current_mtu} in /etc/wireguard/wg0.conf" + msg = f"Setting MTU to {self.current_mtu} in {self.conf_file}" print(f"{msg:<50s}", end=": ") process = subprocess.Popen( ["sed", "-i", f"s/MTU.*/MTU = {self.current_mtu}/", f"{self.conf_file}"],