This commit is contained in:
Bob Mottram 2015-07-04 17:07:17 +01:00
parent 205e3996fa
commit 3430bd27ae
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ no_of_usb_shares=$(ls -afq $FRAGMENTS_DIR/keyshare.asc.* | wc -l)
no_of_usb_shares=$((no_of_usb_shares - 2)) no_of_usb_shares=$((no_of_usb_shares - 2))
if (( no_of_usb_shares != 1 )); then if (( no_of_usb_shares != 1 )); then
echo "There was a problem copying the key fragment to $USB_DRIVE" echo "There was a problem copying the key fragment to $USB_DRIVE"
ls $FRAGMENTS_DIR
umount $USB_MOUNT umount $USB_MOUNT
rm -rf $USB_MOUNT rm -rf $USB_MOUNT
exit 54292 exit 54292