Whamcloud - gitweb
LU-590 tests: obdfilter-survey.sh fails test 2a.
[fs/lustre-release.git] / lustre-iokit / obdfilter-survey / libecho
index e12c853..23aa2b8 100644 (file)
@@ -245,7 +245,7 @@ cleanup () {
     fi
     exit $exit_status
 }
     fi
     exit $exit_status
 }
-trap cleanup SIGHUP SIGINT SIGTERM
+trap 'cleanup 0 $clean_srv_OSS $cleanup_oscs' SIGHUP SIGINT SIGTERM
 
 # gets echoclient device number and attach it to the client UUID
 # Results are  returned by an echo followed by an exit
 
 # gets echoclient device number and attach it to the client UUID
 # Results are  returned by an echo followed by an exit