From fcfa0430e97efbc07ce0fc9a56304ddf3f4ba0c0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 16 Jan 2016 11:13:21 -0500 Subject: main(): Run init_vardata() after srand() --- (limited to 'src') diff --git a/src/main.sh b/src/main.sh index fbdffef..dae02d0 100644 --- a/src/main.sh +++ b/src/main.sh @@ -42,7 +42,6 @@ main() local cmd= load_locale - init_vardata if ! get_options "${@}"; then cmd_help_main >&2 @@ -63,6 +62,7 @@ main() fi srand $(expr ${$} + $(date '+%s')) + init_vardata case "${cmd}" in 'help'|'version') ;; -- cgit v0.9.1