Remove -n flag from echo in service tasks printing

This commit is contained in:
Tortue Torche 2019-08-11 03:02:54 -04:00 committed by Tortue Torche
parent 7bc538aee9
commit 5e74beaa05

2
psu
View File

@ -266,7 +266,7 @@ main() {
echo_verbose "Error: $scope tasks aren't running correctly for the stack \"$PORTAINER_STACK_NAME\""
exit 1;
fi
tasks="$(echo -n "${tasks}${new_tasks}" | jq -sjc 'add | unique_by(.ID)')"
tasks="$(echo "${tasks}${new_tasks}" | jq -sjc 'add | unique_by(.ID)')"
done
echo_debug "Tasks action response -> $(echo $tasks | jq -C .)"
fi