mayhappenz
This commit is contained in:
@@ -239,12 +239,12 @@ read -r random
|
||||
if [[ -z "$random" || "$random" =~ ^[nN]$ ]]; then
|
||||
echo -e "No random data added. ${GREEN}OK!${RESET}\n"
|
||||
else
|
||||
printf 'random: adding 1/2 random blocks of data (128 bytes) to outer archive...\n'
|
||||
openssl rand -out "$out_dir/.$RANDOM" 16 >/dev/null 2>&1
|
||||
printf 'random: adding 1/2 random blocks of data (32 bytes) to outer archive...\n'
|
||||
openssl rand -out "$out_dir/.$RANDOM" 32 >/dev/null 2>&1
|
||||
checkcode $?
|
||||
|
||||
printf 'random: adding 2/2 random blocks of data (128 bytes) to inner archive...\n'
|
||||
openssl rand -out "$inner_dir/.$RANDOM" 16 >/dev/null 2>&1
|
||||
printf 'random: adding 2/2 random blocks of data (32 bytes) to inner archive...\n'
|
||||
openssl rand -out "$inner_dir/.$RANDOM" 32 >/dev/null 2>&1
|
||||
checkcode $?
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user