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
commit27589fa63cc9a8a0c6d5552f21efc89645b7cc28 (patch)
tree3cf7e26991f3956668fd971038a38902a07b0812 /sys-apps/module-init-tools/files
parentGrab fix from upstream for memleak in mountd #172014 by Bardur Arantsson. (diff)
downloadhistorical-27589fa63cc9a8a0c6d5552f21efc89645b7cc28.tar.gz
historical-27589fa63cc9a8a0c6d5552f21efc89645b7cc28.tar.bz2
historical-27589fa63cc9a8a0c6d5552f21efc89645b7cc28.zip
clear the cfg if it wasnt found in any of the available options #165134
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sys-apps/module-init-tools/files')
-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}