diff options
-rw-r--r-- | device_cio_free | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device_cio_free b/device_cio_free index a596d89..92bad0e 100644 --- a/device_cio_free +++ b/device_cio_free @@ -80,8 +80,8 @@ wait_on_device() } # check how we were called -CMD=$(basename "$0") -DIR=$(dirname "$0") +CMD=${0##*/} +DIR=${0%/*} case $CMD in "dasd_cio_free") CONFIG=$DASDCONFIG |