Turns out we need functions.sh in this file for convert_to_megabytes call.
This commit is contained in:
parent
8f1382d1f2
commit
1adaedf5cd
@ -28,6 +28,7 @@
|
||||
# Query a disk for partitions and display them
|
||||
#############################################################################
|
||||
|
||||
. ${PROGDIR}/backend/functions.sh
|
||||
. ${PROGDIR}/backend/functions-disk.sh
|
||||
|
||||
DISK="${1}"
|
||||
@ -57,4 +58,3 @@ echo "heads=${HEADS}"
|
||||
echo "sectors=${SECS}"
|
||||
echo "size=${MB}"
|
||||
echo "type=${CTYPE}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user