diff --git a/lgsm/functions/command_wipe.sh b/lgsm/functions/command_wipe.sh index a02171d95..8ddc2781a 100755 --- a/lgsm/functions/command_wipe.sh +++ b/lgsm/functions/command_wipe.sh @@ -105,6 +105,7 @@ fn_wipe_random_seed(){ seed=$(cat "${datadir}/${selfname}-seed.txt") echo -en "generating new random seed (${cyan}${seed}${default})..." fn_sleep_time + fn_print_ok_eol_nl fi } diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index 5d63cd999..c771771de 100755 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -148,14 +148,7 @@ fn_info_parms_rust(){ if [ ! -f "${datadir}/${selfname}-seed.txt" ]; then shuf -i 1-2147483647 -n 1 > "${datadir}/${selfname}-seed.txt" fi - randomseed=$(cat "${datadir}/${selfname}-seed.txt") - seed="${randomseed}" - fi - # Remove the random seed file if user defined - if [ -n "${seed}" ]&&[ -z "${randomseed}" ]; then - if [ -f "${datadir}/${selfname}-seed.txt" ]; then - rm -f "${datadir:?}/${selfname}-seed.txt" - fi + seed="$(cat "${datadir}/${selfname}-seed.txt")" fi }