From 351158891e59e90586990c450a554d9b35de52f9 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Tue, 14 Sep 2021 09:44:58 +0200 Subject: [PATCH] Add sort, to source files in alphanumerical order as expected --- minifirewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minifirewall b/minifirewall index cfe8d45..ddfd8e9 100755 --- a/minifirewall +++ b/minifirewall @@ -147,7 +147,7 @@ source_configuration() { source_file_or_error ${config_file} if [ -d "${includes_dir}" ]; then - include_files=$(find ${includes_dir} -type f -readable -not -name '*.*') + include_files=$(find ${includes_dir} -type f -readable -not -name '*.*' | sort) for include_file in ${include_files}; do source_file_or_error "${include_file}" done