[arch-projects] [initscripts][PATCH 2/5] arch-tmpfiles: avoid pipe to xargs

Dave Reisner d at falconindy.com
Sun Dec 25 13:27:13 EST 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 arch-tmpfiles |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch-tmpfiles b/arch-tmpfiles
index 73c4328..859abe5 100755
--- a/arch-tmpfiles
+++ b/arch-tmpfiles
@@ -93,7 +93,7 @@ _D() {
 	fi
 
 	if [[ -d $path ]] && (( REMOVE )); then
-		find "$path" -mindepth 1 -maxdepth 1 -xdev -print0 | xargs -r0 rm -rf
+		find "$path" -mindepth 1 -maxdepth 1 -xdev -exec rm -rf {} +
 	fi
 
 	if (( CREATE )); then
-- 
1.7.8.1



More information about the arch-projects mailing list