diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 7138cd82..e421a8f2 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -426,6 +426,7 @@ function install_tox_client { } function mesh_tox_node { + SECONDS=0 # obtain commits from the main file TOXCORE_COMMIT_MAIN=$(grep "TOXCORE_COMMIT=" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-tox" | head -n 1 | awk -F "'" '{print $2}') if [ ${#TOXCORE_COMMIT_MAIN} -gt 10 ]; then @@ -533,7 +534,6 @@ EOF systemctl enable tox-bootstrapd.service fi - SECONDS=0 if [ ! -f "$rootdir/usr/local/bin/tox-bootstrapd" ]; then duration=$SECONDS echo $"Toxcore compile failed at $((duration / 60)) minutes and $((duration % 60)) seconds elapsed."