summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2020-02-24 21:00:57 +0100
committerGiancarlo Razzolini <grazzolini@archlinux.org>2020-02-24 21:00:57 +0100
commit024119a987f720101bc1af723772d608e84e8e2d (patch)
treed0d733499c179feda43022750835fc904ea7b4f3
parent91a35c77972affa995d1ee760986ad2f6e045407 (diff)
parentc1c25dfebdff0a8fef2043c43bae08e0b62613be (diff)
downloadmkinitcpio-024119a987f720101bc1af723772d608e84e8e2d.tar.gz
mkinitcpio-024119a987f720101bc1af723772d608e84e8e2d.tar.xz
Merge branch '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