Fix bashate violations

Change-Id: I31486f7f8de5a410de2847ee1ecfc44ac75bce28
This commit is contained in:
Jesse Pretorius 2015-10-02 16:58:58 +01:00
parent fd5d0c7a02
commit 7474de2ed3

View File

@ -31,8 +31,7 @@ test "$ENABLED" != "0" || exit 0
. /lib/lsb/init-functions
CONFIG_DIR_FILES=""
if [ ! -z "$CONFIG_DIR" ]
then
if [ ! -z "$CONFIG_DIR" ]; then
for file in $CONFIG_DIR/*; do
CONFIG_DIR_FILES="$CONFIG_DIR_FILES -f $file"
done