diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh
index c51fdf2cd1ed90bde6be9d960bd6b2ef9ef26c09..b35afc023e1dd8be33b7302991920c6864994516 100755
--- a/sbin/run_integration_test.sh
+++ b/sbin/run_integration_test.sh
@@ -140,7 +140,7 @@ function cleanup {
     done
 
     # clean up empty files (most containers log to either stderr or stdout)
-    find log -size 0 | xargs rm
+    find log -size 0 -exec rm {} ';'
   fi
   if [ -z "${preserve}" ]; then
     make stop > /dev/null 2>&1