From eaa1d79ad7bb56ee9cf16750dca5d600e5c85d11 Mon Sep 17 00:00:00 2001 From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Date: Tue, 20 Sep 2011 11:47:11 -0300 Subject: [PATCH] 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: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Signed-off-by: Victor Tarabola Cortiano <vtc10@c3sl.ufpr.br> --- agent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent.sh b/agent.sh index 2cd3f60..d4c5f7a 100755 --- a/agent.sh +++ b/agent.sh @@ -115,7 +115,7 @@ export PREFIX="$(dirname $(readlink -f $0))" source ${PREFIX}/load-config.sh || exit 6 source ${PREFIX}/client/common.sh -exec &>> ${LOGFILE} +exec >> ${LOGFILE} 2>&1 # Run extra scripts before anything for script in ${PREFIX}/extra/scripts/* ; do -- GitLab