From: Andrew Chen <[email protected]>

Busybox's xargs doesn't recongize the --max-args option. Use -n instead.

Signed-off-by: Andrew Chen <[email protected]>
---
 ltp-full-20101031/testscripts/test_fs_bind.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ltp-full-20101031/testscripts/test_fs_bind.sh 
b/ltp-full-20101031/testscripts/test_fs_bind.sh
index 9ab533a..6b986dc 100755
--- a/ltp-full-20101031/testscripts/test_fs_bind.sh
+++ b/ltp-full-20101031/testscripts/test_fs_bind.sh
@@ -318,7 +318,7 @@ restore_mounts()
        # new mounts around and will never remove mounts outside the test
        # directory
        ( while grep_mounts ; do
-               grep_mounts | awk '{print $3}' | xargs -r --max-args=1 umount -l
+               grep_mounts | awk '{print $3}' | xargs -r -n 1 umount -l
        done ) >& /dev/null
 
        # mount list and exit with 0
-- 
1.6.5


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to