Skip to content

Commit

Permalink
Improvement on system detection
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Oct 1, 2017
1 parent 66014a6 commit b295e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8690,7 +8690,7 @@ function detect_arm_architecture() {

distro_already_known=0

if [[ $(uname -m | grep -i "arm" > /dev/null) ]] && [[ "${distro}" != "Unknown Linux" ]]; then
if uname -m | grep -i "arm" > /dev/null && [[ "${distro}" != "Unknown Linux" ]]; then

for item in "${known_arm_compatible_distros[@]}"; do
if [ "${distro}" = "${item}" ]; then
Expand Down

0 comments on commit b295e4d

Please sign in to comment.