From 9b2e69c84afd0945da81cfb96a1186497dfe1298 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 31 Jan 2019 23:44:11 -0600 Subject: [PATCH] Update test.sh --- test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test.sh b/test.sh index 83b025c..cb0c43a 100755 --- a/test.sh +++ b/test.sh @@ -21,13 +21,13 @@ fi function myfunc() { local -n __resultvar="$1" || return 1 - __resultvar[0]="a" - __resultvar[1]="b" + __resultvar[qwe]="a" + __resultvar[qwdeqwd]="b" echo 'yes'; if [ -f /etc/debian_version ] ; then - __resultvar[2]="c" - __resultvar[3]="d" - __resultvar[4]="e" + __resultvar[wdqwd]="c" + __resultvar[fhntyn]="d" + __resultvar[ojno]="e" fi echo "ok" }