From 99b66e37d64195e6dd77e8c7182e20e2d2ca4bad Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Thu, 9 Mar 2023 12:30:10 -0800 Subject: [PATCH] inverted logic check to avoid collisions --- lib/skel/.bashrc.d/11-quickinfo.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/skel/.bashrc.d/11-quickinfo.bashrc b/lib/skel/.bashrc.d/11-quickinfo.bashrc index 0b43be6..1109705 100644 --- a/lib/skel/.bashrc.d/11-quickinfo.bashrc +++ b/lib/skel/.bashrc.d/11-quickinfo.bashrc @@ -3,7 +3,7 @@ ############################################################### # MOTD/Login Quick Information script # # This script pulls information from a variety of sources # -# in the a linux system, and agregates it into a small table # +# in the a linux system, and aggregates it into a small table # # that is displayed upon terminal login to the system. # # # # Written by Alan "pyr0ball" Weinstock # @@ -274,7 +274,7 @@ boxline "${bld}${unl}Location:${dfl} ${grn}${unl}$location${dfl}" boxline "" # Echo out network arrays for((i=0; i<"${#adapters[@]}"; i++ )); do - if [[ $show_disconnected == false ]] ; then + if [[ $show_disconnected != true ]] ; then if [[ ${ifups[$i]} == up ]] ; then boxline " ${adapters[$i]}: ${cyn}${ips[$i]}${dfl}\t| ${blu}${macs[$i]}${dfl}" fi