From 0100c6e402b6cf67c580b4b6b43b958d1c4f761f Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 8 Feb 2025 15:23:24 +0100 Subject: [PATCH] support/scripts/mkusers: fix shellcheck error related to auto_id SC2086 is now reported for auto_id since shellcheck 0.9.0: In support/scripts/mkusers line 453: add_one_group "${g}" ${auto_id} ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. So quote it to get rid of this error. Signed-off-by: Romain Naour [Peter: quote variable instead of disabling check] Signed-off-by: Peter Korsgaard --- support/scripts/mkusers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/mkusers b/support/scripts/mkusers index 08f3344518..87a36a89a1 100755 --- a/support/scripts/mkusers +++ b/support/scripts/mkusers @@ -450,7 +450,7 @@ main() { auto_id=${AUTO_USER_ID} fi for g in ${groups//,/ }; do - add_one_group "${g}" ${auto_id} + add_one_group "${g}" "${auto_id}" done fi done