Missing share

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

View File

@ -184,7 +184,7 @@ if (( no_of_local_shares < 3 )); then
fi
share_files=($LOCAL_FRAGMENTS_DIR/keyshare.asc.*)
SHARE_FILENAME=${files[RANDOM % ${#share_files[@]}]}
SHARE_FILENAME=${share_files[RANDOM % ${#share_files[@]}]}
cp -f $SHARE_FILENAME $FRAGMENTS_DIR
no_of_usb_shares=$(ls -afq $FRAGMENTS_DIR/keyshare.asc.* | wc -l)