From 50a753cd48eea661bf6b11419d8da84fd1d908f8 Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Mon, 6 May 2024 18:19:59 +0200 Subject: [PATCH] Fix a couple of spaces to standardize the way of using 2> /dev/null --- airgeddon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airgeddon.sh b/airgeddon.sh index d21a4b49d..501c2be62 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -756,7 +756,7 @@ function interrupt_checkpoint() { last_buffered_type1=${2} last_buffered_type2=${2} else - if [[ "${1}" -ne "${resume_message}" ]] 2>/dev/null && [[ "${1}" != "${resume_message}" ]]; then + if [[ "${1}" -ne "${resume_message}" ]] 2> /dev/null && [[ "${1}" != "${resume_message}" ]]; then last_buffered_message2=${last_buffered_message1} last_buffered_message1=${1} last_buffered_type2=${last_buffered_type1} @@ -974,7 +974,7 @@ function check_airmon_compatibility() { if [ "${1}" = "interface" ]; then set_chipset "${interface}" "read_only" - if iw phy "${phy_interface}" info 2>/dev/null | grep -iq 'interface combinations are not supported'; then + if iw phy "${phy_interface}" info 2> /dev/null | grep -iq 'interface combinations are not supported'; then interface_airmon_compatible=0 else interface_airmon_compatible=1