aboutsummaryrefslogtreecommitdiff
path: root/initramfs_init
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-10 20:14:17 +1200
committerArslaan Pathan <[email protected]>2026-06-10 20:14:17 +1200
commit38f64c4d382d9080b4b0c9b934be8b5dbc997547 (patch)
treeab1236e34e8d02e94699254af8fa8a7e0fe47fc3 /initramfs_init
parent9e4ff9ee6a13bcd7530ba033c54dc0ceb17b54d8 (diff)
downloadyerbalinux-38f64c4d382d9080b4b0c9b934be8b5dbc997547.tar.xz
yerbalinux-38f64c4d382d9080b4b0c9b934be8b5dbc997547.zip
use exec switch_root, not switch_root
Diffstat (limited to 'initramfs_init')
-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