Skip to content
Snippets Groups Projects
Commit 215a9509 authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

if not mounted, do not run

parent 5529c6f7
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ function run {
}
function run_write {
mount |grep -q mnt || exit 1
MDIR=$1
if [ ! -d $LOGD ]
then
......@@ -48,6 +49,7 @@ function run_write {
}
function run_read {
mount |grep -q mnt || exit 1
MDIR=$1
HOST=$( hostname -s )
dir=$MDIR/fio/$HOST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment