aboutsummaryrefslogtreecommitdiff
path: root/tests/lib.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-16 15:17:24 -0300
committerEuAndreh <eu@euandre.org>2022-01-16 15:17:28 -0300
commitfdef19fd0308ca8d36803c6b9e7abc1eddbe23b7 (patch)
tree088d48e1ba31e2ccfb23cbca963c2ee50e5475ba /tests/lib.sh
parentTODOs.md: Check item in #td-d6adcb7a-5252-d883-2b81-501c6f648214 (diff)
downloadgit-permalink-fdef19fd0308ca8d36803c6b9e7abc1eddbe23b7.tar.gz
git-permalink-fdef19fd0308ca8d36803c6b9e7abc1eddbe23b7.tar.xz
{aux,tests}/lib.sh: Use -n1 instead of -1 for head command
Diffstat (limited to 'tests/lib.sh')
-rwxr-xr-xtests/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib.sh b/tests/lib.sh
index 527e645..f2d5555 100755
--- a/tests/lib.sh
+++ b/tests/lib.sh
@@ -122,7 +122,7 @@ uuid() {
# Taken from:
# https://serverfault.com/a/799198
od -xN20 /dev/urandom |
- head -1 |
+ head -n1 |
awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
}