Browse Source

Altered how current status is displayed

pull/528/head
Daniel Gibbs 10 years ago
parent
commit
18367c7646
  1. 5
      tests/tests_jc2server.sh

5
tests/tests_jc2server.sh

@ -109,11 +109,12 @@ fn_setstatus(){
echo""
echo "Required status: ${requiredstatus}"
counter=0
echo "Current status: ${currentstatus}"
while [ "${requiredstatus}" != "${currentstatus}" ]; do
counter=$((counter+1))
fn_currentstatus
echo -ne "Current status: ${currentstatus}\\r"
echo -ne "New status: ${currentstatus}\\r"
if [ "${requiredstatus}" == "ONLINE" ]; then
(fn_start > /dev/null 2>&1)
else

Loading…
Cancel
Save