summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
Diffstat (limited to 'builder')
-rw-r--r--builder/modules.d/busybox/install-busybox.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/builder/modules.d/busybox/install-busybox.sh b/builder/modules.d/busybox/install-busybox.sh
index 888d8afc..6848a735 100644
--- a/builder/modules.d/busybox/install-busybox.sh
+++ b/builder/modules.d/busybox/install-busybox.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-if ! hash busybox; then
+if hash busybox; then
+ busybox --install -s
+else
. /lib/dracut-lib.sh
emergency_shell "Failed to initialize busybox, things will go wrong..."
fi
-
-busybox --install -s
true