Merge pull request #150 from cnrat/master

Echo used instead of cat
This commit is contained in:
Michael Boelen 2016-03-30 11:43:35 +02:00
commit f8a3c996e0
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@
Register --test-no FILE-6372 --os Linux --weight L --network NO --description "Checking / mount options"
if [ ${SKIPTEST} -eq 0 ]; then
if [ -f /etc/fstab ]; then
FIND=`echo /etc/fstab | awk '{ if ($2=="/") { print $4 } }'`
FIND=`cat /etc/fstab | awk '{ if ($2=="/") { print $4 } }'`
NODEV=`echo ${FIND} | awk '{ if ($1=="nodev") { print "YES" } else { print "NO" } }'`
NOEXEC=`echo ${FIND} | awk '{ if ($1=="noexec") { print "YES" } else { print "NO" } }'`
NOSUID=`echo ${FIND} | awk '{ if ($1=="nosuid") { print "YES" } else { print "NO" } }'`