diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a85c5683cda9506c79ffe0aecf7cfbc476399fda..57e40c5b2898db1ffc33e21f72e6bb5c6d81ca77 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -144,7 +144,7 @@ echo # add a newline after mke2fs. umask 077 -OLDDEBUG="`sysctl lnet.debug 2> /dev/null`" +OLDDEBUG="`sysctl -n lnet.debug 2> /dev/null`" sysctl -w lnet.debug=-1 2> /dev/null || true test_0() { touch $DIR/$tfile