summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2020-02-24 21:00:15 +0100
committerGiancarlo Razzolini <grazzolini@archlinux.org>2020-02-24 21:00:15 +0100
commitc1c25dfebdff0a8fef2043c43bae08e0b62613be (patch)
treed0d733499c179feda43022750835fc904ea7b4f3
parent91a35c77972affa995d1ee760986ad2f6e045407 (diff)
parent30dbfc2770cb49cb3babfb750205b126d7d88791 (diff)
downloadmkinitcpio-c1c25dfebdff0a8fef2043c43bae08e0b62613be.tar.gz
mkinitcpio-c1c25dfebdff0a8fef2043c43bae08e0b62613be.tar.xz
Merge branch 'morten/fix-builtin' of https://github.com/Foxboron/mkinitcpio into Foxboron-morten/fix-builtin
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index f407c82..1c72b56 100644
--- a/functions
+++ b/functions
@@ -371,7 +371,7 @@ add_module() {
target=${1%.ko*} target=${target//-/_}
# skip expensive stuff if this module has already been added
- (( _addedmodules["$target"] == 1 )) && return
+ (( _addedmodules["$target"] > 0 )) && return
while IFS=':= ' read -r -d '' field value; do
case "$field" in