From fd9be223b3a6959d7936cb2c8ed7855ec03d53c1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 27 Aug 2014 22:23:07 -0400 Subject: prokit: Seed the RNG --- (limited to 'src') diff --git a/src/prokit.sh b/src/prokit.sh index fab4990..9580cfa 100644 --- a/src/prokit.sh +++ b/src/prokit.sh @@ -63,6 +63,7 @@ use() use locale use cmd use getopt +use rand main() { @@ -86,6 +87,8 @@ main() shift fi + srand $(expr ${$} + $(date '+%s')) + case "${cmd}" in 'help'|'version') ;; *) check_uid || error 1 "$(get_msg 'uid_0_req')";; -- cgit v0.9.1