summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-24 09:18:17 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-24 09:18:17 +0000
commit981ee4e012316bd96f343ab433b2754428ecbec2 (patch)
tree08deceefc6bd34985a91c5df38a23b38490765ff /sys-apps/module-init-tools
parentGrab fix from upstream for memleak in mountd #172014 by Bardur Arantsson. (diff)
downloadgentoo-2-981ee4e012316bd96f343ab433b2754428ecbec2.tar.gz
gentoo-2-981ee4e012316bd96f343ab433b2754428ecbec2.tar.bz2
gentoo-2-981ee4e012316bd96f343ab433b2754428ecbec2.zip
clear the cfg if it wasnt found in any of the available options #165134
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-apps/module-init-tools')
-rwxr-xr-xsys-apps/module-init-tools/files/modules-update1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/module-init-tools/files/modules-update b/sys-apps/module-init-tools/files/modules-update
index fbd9b647daa6..75052621a88d 100755
--- a/sys-apps/module-init-tools/files/modules-update
+++ b/sys-apps/module-init-tools/files/modules-update
@@ -408,6 +408,7 @@ if [[ -d ${depfile%/*} ]] ; then
scfg=${scfg%% *}
[[ -f ${scfg} ]] && cfg=${scfg} && break 2
done
+ cfg=""
done
[[ -n ${cfg} ]] && cfg="-F ${cfg}"
depmod -a ${cfg} ${KV}