diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-13 01:12:46 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 20:19:12 +0200 |
commit | 5c13206bd991df7efc48043feb3d0ae8489ab835 (patch) | |
tree | 120af85b52d944aa38d39db0e6bf5206db5cb54b /init | |
parent | beb5f5c05a5433a10c446b8a6b15db64c75748a5 (diff) | |
download | mkinitcpio-5c13206bd991df7efc48043feb3d0ae8489ab835.tar.gz mkinitcpio-5c13206bd991df7efc48043feb3d0ae8489ab835.tar.xz |
init: don't attempt modprobe if $MODULES is empty
This is harmless when it fails, but it might alarm users.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'init')
-rw-r--r-- | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ fi . /config -/sbin/modprobe -qab $MODULES +[ -n "$MODULES" ] && /sbin/modprobe -qab $MODULES # If rootdelay is empty or not a non-negative integer, set it to 10 if [ -z "${rootdelay}" ] || ! [ "${rootdelay}" -ge 0 ]; then |