mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
rootfs: print the path to files being deleted
Show the list of files being deleted. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
parent
a49d0fb343
commit
5b8471ffce
@ -839,6 +839,7 @@ delete_unnecessary_files()
|
||||
find "${ROOTFS_DIR}" \
|
||||
-type f \
|
||||
\( -name "${u}.service" -o -name "${u}.socket" \) \
|
||||
-exec echo "deleting {}" \; \
|
||||
-exec rm -f {} \;
|
||||
done
|
||||
|
||||
@ -847,6 +848,7 @@ delete_unnecessary_files()
|
||||
find "${ROOTFS_DIR}" \
|
||||
-type f \
|
||||
-name "${u}" \
|
||||
-exec echo "deleting {}" \; \
|
||||
-exec rm -f {} \;
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user