Clean up comments related to root privileges check

Removed commented-out code regarding GUI behavior when lacking root privileges.
This commit is contained in:
juakoknife
2025-11-20 21:00:20 +01:00
committed by GitHub
parent 4bd1ef77e1
commit 373493ca2f
-3
View File
@@ -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)