scst/README.dlm: Correct instructions for waiting for logout

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-08-11 18:36:48 +00:00
parent 6dd5fbfa27
commit 3c66e5bf82

View File

@@ -126,7 +126,8 @@ The proper shutdown order is as follows:
echo 0 > $x &
done
wait
while ls -Ad /sys/kernel/scst_tgt/targets/*/*/sessions/* >/dev/null 2>&1; do
while ls -Ad /sys/kernel/scst_tgt/targets/*/*/sessions/* 2>&1 |
grep -vE '/sys/kernel/scst_tgt/targets/(copy_manager|scst_local)/'; do
sleep 1
done
* Tell SCST to release the DLM lockspaces: