mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 16:11:56 +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
|
# clear them out explicitly, so this fails if something else gets dropped
|
||||||
# into xinetd.d
|
# into xinetd.d
|
||||||
sudo rm ${root_fs_dir}/etc/xinetd.d/rsyncd
|
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}"
|
cleanup_mounts "${root_fs_dir}"
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user