diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 13db0aee4..3b1a1cce1 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -278,7 +278,7 @@ _kexec () { fi sleep 2 rm /{${VMLINUZ},initrd.img} - rm -rf /usr + rm -rf /usr/* while pgrep -x kexec > /dev/null 2>&1; do sleep 1 done