testprogs: Fix shellcheck errors in test_kpasswd_heimdal.sh
authorAndreas Schneider <asn@samba.org>
Mon, 13 Jun 2022 13:57:35 +0000 (15:57 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 20:35:36 +0000 (20:35 +0000)
testprogs/blackbox/test_kpasswd_heimdal.sh:46:57: error: Double quote
array expansions to avoid re-splitting elements. [SC2068]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
testprogs/blackbox/test_kpasswd_heimdal.sh

index 0585e7b4d69f4f3a2ee8c92d311b8bf6142e756e..b401eec9ba8208072c07d77f2a5741f9ea3bb009 100755 (executable)
@@ -45,7 +45,7 @@ do_kinit()
        password="$2"
        shift
        shift
-       kerberos_kinit "$samba_kinit" "$principal" "$password" $@
+       kerberos_kinit "$samba_kinit" "$principal" "$password" "$@"
 }
 
 UID_WRAPPER_ROOT=1