Alternative drive option
This commit is contained in:
parent
ff48df3dab
commit
548b5fc8b9
|
@ -80,7 +80,11 @@ do
|
|||
;;
|
||||
-d|--drive)
|
||||
shift
|
||||
GPG_USB_DRIVE=/dev/${1}1
|
||||
if [[ "${1}" != '/dev/'* ]]; then
|
||||
GPG_USB_DRIVE=/dev/${1}1
|
||||
else
|
||||
GPG_USB_DRIVE=${1}
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# unknown option
|
||||
|
|
Loading…
Reference in New Issue