mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-22 15:10:20 +07:00
fix output for USB path
This commit is contained in:
parent
ad9deeebfc
commit
a05098641e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user