summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJaco Kroon <jaco@iewc.co.za>2021-02-09 10:25:02 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-02-09 10:45:21 +0200
commit90316d9f915d2e0767b3b09cf2ec7d0cff9e8d06 (patch)
tree5fac66c89cbc5e0d305bad66d0fddaf2037db27e /bin
parentused_free_uidgids.sh: new script to output uid gid information. (diff)
downloadapi-90316d9f915d2e0767b3b09cf2ec7d0cff9e8d06.tar.gz
api-90316d9f915d2e0767b3b09cf2ec7d0cff9e8d06.tar.bz2
api-90316d9f915d2e0767b3b09cf2ec7d0cff9e8d06.zip
used_free_uidgids.sh: syntax fixup
<juippis> bin/used_free_uidgids.sh: line 95: reasons{range_end+1]=RESERVED: command not found Signed-off-by: Jaco Kroon <jaco@iewc.co.za> Closes: https://github.com/gentoo/api-gentoo-org/pull/366 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/used_free_uidgids.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/used_free_uidgids.sh b/bin/used_free_uidgids.sh
index b0ed417..3b43ac9 100755
--- a/bin/used_free_uidgids.sh
+++ b/bin/used_free_uidgids.sh
@@ -92,7 +92,7 @@ consume()
if [[ ${range_end} -lt ${ranges[k]} ]]; then
ranges[range_end+1]=${ranges[k]}
- reasons{range_end+1]=${reasons[k]}
+ reasons[range_end+1]=${reasons[k]}
fi
[[ ${range_start} -gt ${k} ]] && ranges[k]=$(( range_start - 1 ))
break