mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 23:51:07 +02:00
use rmdir
This commit is contained in:
parent
98d9fdb925
commit
3647ecb1cc
@ -41,7 +41,7 @@ setup_prod_image() {
|
||||
# clear them out explicitly, so this fails if something else gets dropped
|
||||
# into xinetd.d
|
||||
sudo rm ${root_fs_dir}/etc/xinetd.d/rsyncd
|
||||
sudo rm -r ${root_fs_dir}/etc/xinetd.d
|
||||
sudo rmdir ${root_fs_dir}/etc/xinetd.d
|
||||
|
||||
cleanup_mounts "${root_fs_dir}"
|
||||
trap - EXIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user