tom-2015/imgclone

The uuid package is required but won't stop if not found

laurrentt opened this issue · 0 comments

----    Raspberry Pi clone to image V1.8    ---
-----------------------------------------------
---- DO NOT CHANGE FILES ON YOUR SD CARD    ---
---- WHILE THE BACKUP PROGRAM IS RUNNING    ---
---- THE DESTINATION .IMG FILE MUST BE      ---
---- ON AN EXTERNAL STORAGE / NETWORK SHARE ---
-----------------------------------------------
Cloning /dev/mmcblk0 to 15nov2023.img
gzip compress in on.
Show progress is on.
uuid | cut -f1 -d-
sh: 1: uuid: not found
mktemp -d
mktemp -d
-----------------------------------------------
----    READING PARTITIONS               ------
-----------------------------------------------
Partition 1 start: 8192 end: 532479 ptype:primary ftype:fat32 flags: lba
.Partition 2 start: 532480 end: 62333951 ptype:primary ftype:ext4 flags:
.partprobe
Last partition starts at 272629760 bytes.
mount /dev/mmcblk0p2 /tmp/tmp.mg1qgNs8Sa

This would probably lead to problems down the road. I suggest you update the README and assert the existence of the executable at the beginning.