aboutsummaryrefslogtreecommitdiff
path: root/bin/maybe.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-07-02 23:09:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-07-02 23:09:08 +1200
commitfcb11d71d7d4dd7abf5af3e58106154ab2dd2212 (patch)
treec9544340f86c6b7c8d45c5d2b2db6473693779df /bin/maybe.sh
parentMerge branch 'awk-cleanup' (diff)
downloaddotfiles-fcb11d71d7d4dd7abf5af3e58106154ab2dd2212.tar.gz
dotfiles-fcb11d71d7d4dd7abf5af3e58106154ab2dd2212.zip
Correct some rndi(1df) references
Diffstat (limited to 'bin/maybe.sh')
-rw-r--r--bin/maybe.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/maybe.sh b/bin/maybe.sh
index 6e5c8658..bda7bbc0 100644
--- a/bin/maybe.sh
+++ b/bin/maybe.sh
@@ -19,5 +19,4 @@ if [ "$((num >= 0 || den >= 1))" -ne 1 ] ; then
fi
# Perform the test; that's our exit value
-seed=$(rnds)
-test "$(rndi 1 "$den" "$seed")" -le "$num"
+test "$(rndi 1 "$den")" -le "$num"