]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/nhfsstone/nhfsrun
fix nhfsrun signal
[nfs-utils.git] / utils / nhfsstone / nhfsrun
index dfc24eb05dd5f7ec4baa4cd62b41b880e951b67f..ce77acec2d44d8abf89b609bfb976fce84d83d41 100755 (executable)
@@ -46,7 +46,7 @@ INCR=10
 # SIGUSR1 is used by nhfsstone to synchronize child processes.
 #
 nothing() { echo -n ""; }
-trap nothing 30
+trap nothing USR1
 
 rm -f $OUTFILE
 
@@ -54,6 +54,6 @@ LOAD=$START
 while [ $LOAD -le $END ]; do
        echo nhfsstone -l $LOAD
        nhfsstone -l $LOAD >> $OUTFILE
-       tail -1 $OUTFILE
+       tail -1 $OUTFILE
        LOAD=`expr $LOAD + $INCR`
 done