Skip to content
Permalink
Browse files

Add missing `-r` option to jot

- Otherwise output is always `0` and not a random number
  • Loading branch information...
lauft committed Mar 2, 2019
1 parent a6d9736 commit 428d377b84aa245856f9838e263c2944ab753a13
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/timemachine
@@ -16,7 +16,7 @@ function random_minute()
{
case "${OSTYPE}" in
darwin*)
echo "0$( jot 1 0 59 )" | sed "s|.\+\(..\)\$|\1|g"
echo "0$( jot -r 1 0 59 )" | sed "s|.\+\(..\)\$|\1|g"
;;
*)
echo "0$( rand -M 60 )" | sed "s|.\+\(..\)\$|\1|g"

0 comments on commit 428d377

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.