From: Noorul Islam K M Date: Mon, 22 Aug 2011 07:05:00 +0000 (+0530) Subject: Do not break out of the loop instead continue with other items in the list. X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=8e0b66899dc1fcc818c45f925a14fea36cd5e279;p=common%2Fbash_it.git Do not break out of the loop instead continue with other items in the list. --- diff --git a/bash_it.sh b/bash_it.sh index c7cbaa7..fd7b546 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -22,7 +22,7 @@ for file_type in "aliases" "completion" "plugins" do if [ ! -d "${BASH}/${file_type}/enabled" ] then - break + continue fi FILES="${BASH}/${file_type}/enabled/*.bash" for config_file in $FILES