Remove a stray | in the zpios-survey script which caused it to fail.

This commit is contained in:
Brian Behlendorf 2009-07-24 08:50:05 -07:00
parent 154612b330
commit 75ddd265cb
1 changed files with 5 additions and 5 deletions

View File

@ -18,9 +18,9 @@ OPTIONS:
-h Show this message -h Show this message
-v Verbose -v Verbose
-p Enable profiling -p Enable profiling
-c Zpool configuration -c Zpool configuration
-t Zpios test -t Zpios test
-l Zpios survey log -l Zpios survey log
EOF EOF
} }
@ -58,8 +58,8 @@ zpios_survey_prefetch() {
./zfs.sh ${VERBOSE_FLAG} \ ./zfs.sh ${VERBOSE_FLAG} \
tee -a ${ZPIOS_SURVEY_LOG} tee -a ${ZPIOS_SURVEY_LOG}
./zpios.sh ${VERBOSE_FLAG} -c ${ZPOOL_CONFIG} -t ${ZPIOS_TEST} | \ ./zpios.sh ${VERBOSE_FLAG} -c ${ZPOOL_CONFIG} -t ${ZPIOS_TEST} \
-o "--noprefetch" | \ -o "--noprefetch" | \
tee -a ${ZPIOS_SURVEY_LOG} tee -a ${ZPIOS_SURVEY_LOG}
./zfs.sh -u ${VERBOSE_FLAG} | \ ./zfs.sh -u ${VERBOSE_FLAG} | \
tee -a ${ZPIOS_SURVEY_LOG} tee -a ${ZPIOS_SURVEY_LOG}
@ -193,7 +193,7 @@ while getopts 'hvpc:t:l:' OPTION; do
done done
if [ $(id -u) != 0 ]; then if [ $(id -u) != 0 ]; then
die "Must run as root" die "Must run as root"
fi fi
zpios_survey_base zpios_survey_base