summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/prokit.sh3
1 files changed, 3 insertions, 0 deletions
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')";;