From 097369849bac1a772ea350354453bbd8be582af9 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Mon, 30 Jul 2018 06:35:02 +0200 Subject: [PATCH] Unix.c: don't use hardcoded path to call "ethtool" --- src/Mayaqua/Unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mayaqua/Unix.c b/src/Mayaqua/Unix.c index 6c47a338..f5353a06 100755 --- a/src/Mayaqua/Unix.c +++ b/src/Mayaqua/Unix.c @@ -364,7 +364,7 @@ void UnixDisableInterfaceOffload(char *name) { char *a = t->Token[i]; - Format(tmp, sizeof(tmp), "/sbin/ethtool -K %s %s off 2>/dev/null", name, a); + Format(tmp, sizeof(tmp), "ethtool -K %s %s off 2>/dev/null", name, a); FreeToken(UnixExec(tmp)); } }