removing nonexistent initrd/ is not an error
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 9 Jun 2023 14:33:19 +0000 (00:33 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 9 Jun 2023 14:33:19 +0000 (00:33 +1000)
mkit.sh

diff --git a/mkit.sh b/mkit.sh
index 710a123ccde82e2fd7bb8e9efc78475f4aeceffc..7637bf30b2c5db705b03c288d9bbacba8a8df210 100755 (executable)
--- a/mkit.sh
+++ b/mkit.sh
@@ -62,7 +62,7 @@ echo $KERNEL
 # later pivoting onto a "full" filesystem.
 
 echo "# Create initrd filesystem"
-rm -r initrd
+rm -fr initrd
 
 echo "# Install busybox, and fluff it up"
 fakechroot fakeroot \