diff options
Diffstat (limited to 'main/busybox/busybox.trigger')
-rw-r--r-- | main/busybox/busybox.trigger | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/busybox/busybox.trigger b/main/busybox/busybox.trigger index 4daec8c56d..e671e8cc28 100644 --- a/main/busybox/busybox.trigger +++ b/main/busybox/busybox.trigger @@ -5,9 +5,9 @@ do_bb_install= for i in "$@"; do case "$i" in /lib/modules/*) - # don't run busybox dpemod if we have kmod installed + # don't run busybox depmod if we have kmod installed # we dont need to run it twice. - target=$(readlink -f $(command -v depmod)) + target=$(readlink -f "$(command -v depmod || true)") if [ -d "$i" ] && [ "$target" = "/bin/busybox" ]; then /bin/busybox depmod ${i#/lib/modules/} fi |