Skip to content

Commit

Permalink
Fix a couple of spaces to standardize the way of using 2> /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed May 6, 2024
1 parent 7ec4ea4 commit 50a753c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 50a753c

Please sign in to comment.