From 373493ca2fc1025bfd53a88828e081e8733ee8aa Mon Sep 17 00:00:00 2001 From: juakoknife <162052088+inlutec@users.noreply.github.com> Date: Thu, 20 Nov 2025 21:00:20 +0100 Subject: [PATCH] Clean up comments related to root privileges check Removed commented-out code regarding GUI behavior when lacking root privileges. --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index 9e4e604..ff5f969 100644 --- a/main.py +++ b/main.py @@ -9,9 +9,6 @@ def main(): if os.geteuid() != 0: print("This application requires root privileges to manage network interfaces.") print("Please run with sudo.") - # In a real GUI app we might want to show a dialog before exiting, - # but for now we'll just print to stdout. - # We can also attempt to restart with sudo, but that's complex for now. sys.exit(1) app = QApplication(sys.argv)