summaryrefslogtreecommitdiffstats
path: root/device_cio_free
diff options
context:
space:
mode:
authorDan Horák <dan@danny.cz>2010-03-25 15:45:08 +0100
committerDan Horák <dan@danny.cz>2010-03-25 15:45:08 +0100
commit3fe1387c74899eebfe3e4a5b6714b8996eae4f5f (patch)
treead9ff6c0b94b939ae67e5df8add3742f3114b299 /device_cio_free
parent6510534606c3940390873580fca0b70cae4eea35 (diff)
downloadutils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.tar.gz
utils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.tar.xz
utils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.zip
import 20100204
Diffstat (limited to 'device_cio_free')
-rw-r--r--device_cio_free4
1 files changed, 3 insertions, 1 deletions
diff --git a/device_cio_free b/device_cio_free
index a17662b..557427a 100644
--- a/device_cio_free
+++ b/device_cio_free
@@ -145,7 +145,9 @@ if [ $MODE = "dasd" ]; then
sed -e 's/.*[[:space:]]dasd=\([^[:space:]]*\).*/\1/' -e 's/([^)]*)//g' \
-e 's/nopav\|nofcx\|autodetect\|probeonly//g' -e 's/,,/,/g' -e 's/^,//' -e 's/,$//')
- free_device $DEVICES
+ for DEVRANGE in $(echo $DEVICES | tr ',' ' '); do
+ free_device $DEVRANGE
+ done
fi
if [ $MODE = "znet" ]; then