From cef99e799887ab3781052c74e390449bfe25e47b Mon Sep 17 00:00:00 2001 From: Tom Early Date: Wed, 16 Jan 2019 07:11:02 -0700 Subject: [PATCH] missing "; then"s --- qnadmin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qnadmin b/qnadmin index f6cf1eb..b748c70 100755 --- a/qnadmin +++ b/qnadmin @@ -277,19 +277,19 @@ MaintenanceMenu () { if [[ "$ans" == g* ]]; then if [[ "$GateState" == 'running' ]]; then sudo systemctl stop qngateway - elif [[ "$GateState" == 'stopped' ]] + elif [[ "$GateState" == 'stopped' ]]; then sudo systemctl start qngateway fi elif [[ "$ans" == l* ]]; then if [[ "$LinkState" == 'running' ]]; then sudo systemctl stop qnlink - elif [[ "$LinkState" == 'stopped' ]] + elif [[ "$LinkState" == 'stopped' ]]; then sudo systemctl start qnlink fi elif [[ "$ans" == d* ]]; then if [[ "$DTMFState" == 'running' ]]; then sudo systemctl stop qndtmf - elif [[ "$DTMFState" == 'stopped' ]] + elif [[ "$DTMFState" == 'stopped' ]]; then sudo systemctl start qndtmf fi elif [[ "$ans" == a* ]] && [ -n $module_a ]; then