Explorar el Código

insecure locks test

Bob Mottram hace 8 años
padre
commit
8a844d3024
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      tests/check-nfs-insecure.sh

+ 1
- 1
tests/check-nfs-insecure.sh Ver fichero

@@ -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