summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--device_cio_free2
1 files changed, 1 insertions, 1 deletions
diff --git a/device_cio_free b/device_cio_free
index b4c3750..cd2b21f 100644
--- a/device_cio_free
+++ b/device_cio_free
@@ -101,7 +101,6 @@ wait_on_devices()
if [ -w $CIO_SETTLE ]; then
[ $VERBOSE ] && echo "Waiting until all pending CIO requests are processed"
echo 1 > $CIO_SETTLE
- udevadm settle
return
fi
@@ -249,6 +248,7 @@ if [ "$DEVICE" ]; then
[ $VERBOSE ] && echo "Freeing specific devices"
free_device $DEVICE
wait_on_devices
+ udevadm settle
exit 0
fi