1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Update comment in tests//vars-and-functions.sh

Co-authored-by: tomberek <tomberek@users.noreply.github.com>
This commit is contained in:
Robert Hensing 2024-07-23 10:24:18 +02:00 committed by GitHub
parent 41a03738d6
commit 4457cebe05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -306,7 +306,8 @@ onError() {
# Example (showns as string): 'repl.sh:123: in call to grepQuiet: '
# This function is inefficient, so it should only be used in error messages.
callerPrefix() {
# Find the closes caller that's not from this file
# Find the closest caller that's not from this file
# using the bash `caller` builtin.
local i file line fn savedFn
# Use `caller`
for i in $(seq 0 100); do