From 0a241d8ca83a807a35fc2c118b03b16e3ac7cb66 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 16 Jan 2021 16:56:22 +0000 Subject: [PATCH] fix(wipe): resolve random seed not working --- lgsm/functions/command_wipe.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lgsm/functions/command_wipe.sh b/lgsm/functions/command_wipe.sh index 3c8e1a419..9fc099fbe 100755 --- a/lgsm/functions/command_wipe.sh +++ b/lgsm/functions/command_wipe.sh @@ -200,9 +200,7 @@ fn_wipe_warning(){ # Will change the seed everytime the wipe command is run if the seed in config is not set. fn_wipe_random_seed(){ - if [ -z "${seed}" ]; then - shuf -i 1-2147483647 -n 1 > "${datadir}/${selfname}-seed.txt" - fi + shuf -i 1-2147483647 -n 1 > "${datadir}/${selfname}-seed.txt" } fn_print_dots ""