Selaa lähdekoodia

insecure locks test

Bob Mottram 8 vuotta sitten
vanhempi
commit
8a844d3024
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      tests/check-nfs-insecure.sh

+ 1
- 1
tests/check-nfs-insecure.sh Näytä tiedosto

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