Skip to content
Snippets Groups Projects
Commit 03cae796 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Josiney de Souza
Browse files

agent.sh: Added $returnValue to check client errors during the agent update


This allows the verification of no Internet connection error during the
update process (as soon as the client isn't able to check the agent's
version).

Changed the test(1) outside checkUpdate() from "-eq 1" to "-ne 0".

Changed test(1) inside checkUpdate() to return 0 if it's the first
execution of the agent.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Signed-off-by: default avatarJosiney de Souza <josineys@c3sl.ufpr.br>
parent 2dbd41d5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment