le-autoupgrade: Fix missing data on log file

There was a wrong redirect to log, &> instead of &>>, causing it to
truncate.
Signed-off-by: 's avatarDiego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
parent eb7a3eed
Package: le-autoupgrade Package: le-autoupgrade
Priority: important Priority: important
Section: main Section: main
Version: 0.0.7 Version: 0.0.8
Architecture: all Architecture: all
Depends: cron | anacron, apt, debianutils, wget Depends: cron | anacron, apt, debianutils, wget
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br> Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
......
...@@ -51,7 +51,7 @@ fi ...@@ -51,7 +51,7 @@ fi
# Run a command passed as argument # Run a command passed as argument
function run { function run {
echo "==$(date)==" >> $PHYSIC_LOG echo "==$(date)==" >> $PHYSIC_LOG
$@ &> $PHYSIC_LOG $@ &>> $PHYSIC_LOG
return $? return $?
} }
......
C3SL - Centro de Computacao Cientifica e Software Livre C3SL - Centro de Computacao Cientifica e Software Livre
Adriano da Luz Adriano da Luz
Bruno Cesar Ribas André P. Ziviani
Andrey Ricardo Pimentel
Anna H. B. Strauch
Bruna M. Da Silva
Carlos Carvalho Carlos Carvalho
Cleide Luzia Bonfim Possamai Cleide Luzia Bonfim Possamai
Dalmon Ian Martins Oliveira
Daniel Weingaertner
Diego Giovane Pasqualin
Edemir Maciel
Edileuton H. De Oliveira
Eduardo Almeida
Eduardo Tainan Bergamini
Eduardo Todt Eduardo Todt
Erik Alexandre Pucci Erik Alexandre Pucci
Fabiano Silva
Isabella S. L. Borges
Jessiel H. Hacke
João G. Pauluk
Juliana Bueno Juliana Bueno
Klismann Smoger Mottin Klismann Smoger Mottin
Laura Sanchez Garcia Laura Sanchez Garcia
Lucas Manika Koeb Leticia Mara Peres
Lior Spach
Lucas Falcão Radaelli Lucas Falcão Radaelli
Lucas Manika Koeb
Lucas Pazelo
Lucas Silva Martins
Lucas Vinicius Semprebom Goncalves
Luis Carlos Erpen de Bona Luis Carlos Erpen de Bona
Marcos Castilho Marcos Castilho
Marcos Sunye
Michael Liang Michael Liang
Thiago Henrique Dos Santos Picharski Mozart P. Tomazetti
Rafael Ravedutti Lucio Machado
Rogério S. Martins
Thiago A. Salvadori
Thiago H. S. Picharski
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment