diff --git a/firewall.py b/firewall.py index c2d52015e..f5dc829d0 100644 --- a/firewall.py +++ b/firewall.py @@ -248,7 +248,7 @@ def firewall_upnp(action=None): if firewall['uPnP']['enabled'] == True: msignals.display(m18n.n('upnp_active'), 'success') else: - raise MoulinetteError(errno.EPERM, + raise MoulinetteError(errno.EADV, m18n.n('upnp_inactive')) if action: