diff --git a/src/yunohost/dyndns.py b/src/yunohost/dyndns.py index 5edf77ccd..a1e6cd60a 100644 --- a/src/yunohost/dyndns.py +++ b/src/yunohost/dyndns.py @@ -292,8 +292,6 @@ def dyndns_update(dyn_host="dyndns.yunohost.org", domain=None, key=None, command = ["/usr/bin/nsupdate", "-k", key, DYNDNS_ZONE] subprocess.check_call(command) except subprocess.CalledProcessError: - rm(OLD_IPV4_FILE, force=True) # Remove file (ignore if non-existent) - rm(OLD_IPV6_FILE, force=True) # Remove file (ignore if non-existent) raise MoulinetteError(errno.EPERM, m18n.n('dyndns_ip_update_failed'))