insecure locks test

This commit is contained in:
Bob Mottram 2016-11-29 13:40:37 +00:00
parent a3e4aaa57b
commit 8a844d3024
1 changed files with 1 additions and 1 deletions

View File

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