summaryrefslogtreecommitdiff
path: root/scripts/uchroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/uchroot')
-rwxr-xr-xscripts/uchroot1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/uchroot b/scripts/uchroot
index dd3d77a..576c88e 100755
--- a/scripts/uchroot
+++ b/scripts/uchroot
@@ -41,6 +41,7 @@ mount --rbind /dev "$ROOT/dev"
mount --rbind /sys "$ROOT/sys"
while IFS=: read src target; do
[ -n "$src" -a -n "$target" ] || continue
+ mkdir -p "$ROOT/$target"
mount --rbind "$src" "$ROOT/$target"
done <<<"$MOUNT"