mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
tests/gnrc_tcp: fix sudo error message
This commit is contained in:
parent
b99ec92e6a
commit
00f7e52be6
@ -105,6 +105,6 @@ def sudo_guard():
|
||||
sudo_required = os.environ.get("BOARD", "") != "native"
|
||||
if sudo_required and os.geteuid() != 0:
|
||||
print("\x1b[1;31mThis test requires root privileges.\n"
|
||||
"It's constructing and sending Ethernet frames.\x1b[0m\n",
|
||||
"It uses `./dist/tools/ethos/start_networking.sh` as term\x1b[0m\n",
|
||||
file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user