mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 08:28:34 +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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user