diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-03-21 17:28:47 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-03-21 17:28:47 +0100 |
commit | a05098641e448cbdb7b742826c3a0bc35a8a1c1f (patch) | |
tree | 443ede6e5baa8eee8294241ba6ffe74234f9b264 | |
parent | ad9deeebfc8a34b95f32968dd0ef6bb292890e74 (diff) |
fix output for USB path
-rw-r--r-- | extras/path_id | 4 |
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 |