Skip to content

Commit e2b847a

Browse files
committed
resolve password flag problem for .bash
1 parent 5a19e5e commit e2b847a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gettingStarted/workshop-scripts/runJmsPutGetInteractive.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ then
199199
esac
200200
fi
201201
echo $ec Running...
202-
cmd="java -cp ./$allClientJar:./$jmsApiJar:./$jsonJar:. com.ibm.mq.samples.jms.$JmsAppClass $host_name $port $channel $qmgr $app_user $app_pwd $queue $mode $tls"
202+
cmd="java -cp ./$allClientJar:./$jmsApiJar:./$jsonJar:. com.ibm.mq.samples.jms.$JmsAppClass $host_name $port $channel $qmgr $app_user $queue $mode $tls"
203203
echo $ec Commands to run are:
204204
echo
205205
echo $cmd -pw _your_password_
206206
echo
207-
$(echo $cmd)
207+
$(echo $cmd $app_pwd)
208208

209209
checkReturnCode $? "Error running JmsPutGetInteractive Utility."
210210

0 commit comments

Comments
 (0)