summaryrefslogtreecommitdiff
path: root/src/initrd
diff options
context:
space:
mode:
Diffstat (limited to 'src/initrd')
-rw-r--r--src/initrd/btrfs-create.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initrd/btrfs-create.sh b/src/initrd/btrfs-create.sh
index 4548ee1..952d25f 100644
--- a/src/initrd/btrfs-create.sh
+++ b/src/initrd/btrfs-create.sh
@@ -119,6 +119,7 @@ copy_execs()
119 119
120 for b in "$@"; do 120 for b in "$@"; do
121 [ -x "/root/$d/$b" ] && continue 121 [ -x "/root/$d/$b" ] && continue
122 [ -x "/root/usr/$d/$b" ] && continue
122 [ "$(which "$b")" ] || continue 123 [ "$(which "$b")" ] || continue
123 cp "$(which "$b")" "/root/$d/$b" 124 cp "$(which "$b")" "/root/$d/$b"
124 done 125 done