From 6f396687ce8683f369b1bf7857aa24b7b8f1ed73 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 5 Apr 2021 14:44:41 -0400 Subject: [PATCH] update to require module instance --- bin/show-user-info.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/show-user-info.sh b/bin/show-user-info.sh index 4426a16..cbdff04 100755 --- a/bin/show-user-info.sh +++ b/bin/show-user-info.sh @@ -6,15 +6,16 @@ then exit 1 fi -USER=$1 +#USER=$1 +MODULE=$1 export GPG_TTY=$(tty) -if [ -z $USER ] +if [ -z $MODULE ] then - echo "* missing username" + echo "* missing module name" exit 1 fi -MODULE="user_$USER" +#MODULE="user_$USER" VARS="user_name user_arn user_password" declare -A values