diff --git a/tasks.py b/tasks.py index 1ebb860f..58f8282b 100644 --- a/tasks.py +++ b/tasks.py @@ -210,7 +210,7 @@ def install_poetry(c: Context, dev: bool, local: bool, hide: bool) -> None: def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None: - if c.run("which zebra", warn=True, hide=hide): + if c.run("sudo which zebra", warn=True, hide=hide): print("\nquagga already installed, skipping ospf mdr") return if os_info.like == OsLike.DEBIAN: