summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.sh')
-rw-r--r--src/main.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.sh b/src/main.sh
index 0f850e0..aa9b3d4 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -34,7 +34,7 @@ else
builddir=''
fi
-time()
+unixtime()
{
# Based on code from <https://www.etalabs.net/sh_tricks.html> by Rich
# Felker, with whitespace added for readability.
@@ -79,7 +79,7 @@ main()
shift 1
fi
- srand $((${$} + $(time)))
+ srand $((${$} + $(unixtime)))
if ! init_vardata; then
return 2
fi