fix output for USB path

This commit is contained in:
Kay Sievers 2006-03-21 17:28:47 +01:00
parent ad9deeebfc
commit a05098641e

View File

@ -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