mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 07:24:24 +01:00
obs: makefile: fix clean target.
Clean target tries to remove files multiples times. Limit find max depth to not try to remove files more than once. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -5,4 +5,4 @@
|
||||
|
||||
|
||||
clean:
|
||||
find . -type d -name "*home:katacontainers*" -exec sudo rm -rf {} \;
|
||||
find . -maxdepth 2 -type d -name '*home:katacontainers*' -exec sudo rm -rf {} \;
|
||||
|
||||
Reference in New Issue
Block a user