From f9b46fbd6b88b07e780e98bae2629ada7c991343 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 6 Oct 2023 23:45:09 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- builder/data/usr/bin/pwnlib | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index 23827206..4e78adf6 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -79,12 +79,12 @@ is_auto_mode() { # if usb0 is up, we're in MANU if is_interface_up usb0; then - return 1 + return 0 fi # if eth0 is up (for other boards), we're in MANU if is_interface_up eth0; then - return 1 + return 0 fi # no override, but none of the interfaces is up -> AUTO @@ -105,12 +105,12 @@ is_auto_mode_no_delete() { # if usb0 is up, we're in MANU if is_interface_up usb0; then - return 1 + return 0 fi # if eth0 is up (for other boards), we're in MANU if is_interface_up eth0; then - return 1 + return 0 fi # no override, but none of the interfaces is up -> AUTO