aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--initramfs_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs_init b/initramfs_init
index ad27ff7..bb180d1 100644
--- a/initramfs_init
+++ b/initramfs_init
@@ -50,7 +50,7 @@ echo "[yerba-initramfs/init] DEBUG: running ls on /mnt/overlay/merged"
ls /mnt/overlay/merged
echo "[yerba-initramfs/init] Switching to overlay root..."
-switch_root /mnt/overlay/merged /init
+exec switch_root /mnt/overlay/merged /init
echo "[yerba-initramfs/init] switch_root failed, dropping to shell"
exec /bin/sh