소스 검색

insecure locks test

Bob Mottram 8 년 전
부모
커밋
8a844d3024
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      tests/check-nfs-insecure.sh

+ 1
- 1
tests/check-nfs-insecure.sh 파일 보기

@@ -1,5 +1,5 @@
1 1
 #!/bin/bash
2 2
 
3
-if ! sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/exports | grep insecure_locks;then
3
+if grep 'insecure_locks' /etc/exports; then
4 4
         exit 1
5 5
 fi