fix: Exit when pivot_root fails
This commit is contained in:
parent
f51ae2b97d
commit
45c84c281a
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ mount -t proc proc proc
|
|||
|
||||
cp /etc/resolv.conf etc/resolv.conf
|
||||
echo '
|
||||
pivot_root . old_root
|
||||
pivot_root . old_root || exit 1
|
||||
rm second_stage.sh
|
||||
|
||||
apk add alpine-base util-linux-misc syslinux gdb procps
|
||||
|
|
Loading…
Reference in a new issue