summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/path_id4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/path_id b/extras/path_id
index c17fc3cdf0..aecc40cc9b 100644
--- a/extras/path_id
+++ b/extras/path_id
@@ -460,18 +460,20 @@ handle_block () {
d="$d-${rewind}st${mode}"
fi
fi
- echo "ID_PATH=$d"
}
case "$TYPE" in
block)
handle_block
+ echo "ID_PATH=$d"
;;
scsi_tape)
handle_block
+ echo "ID_PATH=$d"
;;
input)
handle_usb $SYSFS$DEVPATH/device
+ echo "ID_PATH=$d"
;;
*)
RESULT=1