Skip to content
Snippets Groups Projects
Commit eaa1d79a authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Victor Tarabola Cortiano
Browse files

agent.sh: Replaced "&>>" redirection by ">> 2>&1"


Replaced to avoid error in old bash(1) versions, since this is somewhat a
new kind of redirection.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Signed-off-by: default avatarVictor Tarabola Cortiano <vtc10@c3sl.ufpr.br>
parent fd7f9d19
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ export PREFIX="$(dirname $(readlink -f $0))" ...@@ -115,7 +115,7 @@ export PREFIX="$(dirname $(readlink -f $0))"
source ${PREFIX}/load-config.sh || exit 6 source ${PREFIX}/load-config.sh || exit 6
source ${PREFIX}/client/common.sh source ${PREFIX}/client/common.sh
exec &>> ${LOGFILE} exec >> ${LOGFILE} 2>&1
# Run extra scripts before anything # Run extra scripts before anything
for script in ${PREFIX}/extra/scripts/* ; do for script in ${PREFIX}/extra/scripts/* ; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment