From a05098641e448cbdb7b742826c3a0bc35a8a1c1f Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 21 Mar 2006 17:28:47 +0100 Subject: fix output for USB path --- extras/path_id | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extras/path_id') 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 -- cgit v1.2.3-54-g00ecf