security.d/chk_exports

changeset 23
b66522a5726e
parent 17
65656789da08
--- a/security.d/chk_exports	Fri Dec 26 11:43:45 2014 +0100
+++ b/security.d/chk_exports	Sat Jul 18 15:55:11 2020 +0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 #############################################################################
-# Copyright (C) 2005-2013
+# Copyright (C) 2005-2020
 #   
 # Michiel Broek               <mbse at mbse.eu>
 #
@@ -45,7 +45,7 @@
 if [ -f /etc/exports ]; then
     cat /etc/exports | awk '{
 	# ignore comments and blank lines
-	if ($0 ~ /^\#/ || $0 ~ /^$/ )
+	if ($0 ~ /^#/ || $0 ~ /^$/ )
 	    next;
 	readwrite = 0;
 	global = 0;

mercurial