mountcwfs: do not list current directory if no cwfs partitions are found.

This commit is contained in:
stanley lieber 2011-04-23 03:56:42 +00:00
parent d719f8946c
commit cab43022cb

View file

@ -9,6 +9,7 @@ case go
echo
files=(`{ls /dev/sd*/fscache* /dev/fs/fscache* >[2]/dev/null})
if(! ~ $#files 0)
ls -l $files
echo
if(~ $#files 1)
@ -20,6 +21,7 @@ case go
export fs
files=(`{ls /dev/sd*/fsworm* /dev/fs/fsworm* >[2]/dev/null})
if(! ~ $#files 0)
ls -l $files
echo
if(~ $#files 1)
@ -31,6 +33,7 @@ case go
export fsworm
files=(`{ls /dev/sd*/other* /dev/fs/other* >[2]/dev/null})
if(! ~ $#files 0)
ls -l $files
echo
if(~ $#files 1)