mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2026-10-26 19:01:41 -04:00
Try to detect if the device specifier is valid.
This commit is contained in:
parent
abfee5743d
commit
45ffcc8cbc
1 changed files with 3 additions and 0 deletions
|
|
@ -188,6 +188,9 @@ if [ -z "${driveID}" ]; then
|
|||
echo "error: No Drive Device Specifier." 1>&2
|
||||
dbUsage
|
||||
exit 4
|
||||
elif [ ! -e "/dev/${driveID}" ]; then
|
||||
echo "error: Drive Device Specifier does not exist." 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
#check if needed software is installed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue