From d45a719ef1b68ea3ecf3de3ecc9014b70447f9ed Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Tue, 9 Jun 2026 15:51:02 -0400 Subject: [PATCH] Development --- routlin/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routlin/core.py b/routlin/core.py index d51c1c7..b7debb7 100644 --- a/routlin/core.py +++ b/routlin/core.py @@ -909,6 +909,8 @@ def main(): return if args.view_metrics: + if not shared.is_root(): + die("This script must be run as root (sudo).") metrics.show_metrics(data) return