diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 08d560c97..13db0aee4 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -278,7 +278,6 @@ _kexec () { fi sleep 2 rm /{${VMLINUZ},initrd.img} - find . -mindepth 1 -maxdepth 1 ! -name 'dev' ! -name "sys" ! -name "proc" ! -name "run" ! -name "usr" -exec rm -rf {} \; rm -rf /usr while pgrep -x kexec > /dev/null 2>&1; do sleep 1