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
Priority: important
Section: main
Version: 0.0.7
Version: 0.0.8
Architecture: all
Depends: cron | anacron, apt, debianutils, wget
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
......
......@@ -51,7 +51,7 @@ fi
# Run a command passed as argument
function run {
echo "==$(date)==" >> $PHYSIC_LOG
$@ &> $PHYSIC_LOG
$@ &>> $PHYSIC_LOG
return $?
}
......
C3SL - Centro de Computacao Cientifica e Software Livre
Adriano da Luz
Bruno Cesar Ribas
André P. Ziviani
Andrey Ricardo Pimentel
Anna H. B. Strauch
Bruna M. Da Silva
Carlos Carvalho
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
Erik Alexandre Pucci
Fabiano Silva
Isabella S. L. Borges
Jessiel H. Hacke
João G. Pauluk
Juliana Bueno
Klismann Smoger Mottin
Laura Sanchez Garcia
Lucas Manika Koeb
Leticia Mara Peres
Lior Spach
Lucas Falcão Radaelli
Lucas Manika Koeb
Lucas Pazelo
Lucas Silva Martins
Lucas Vinicius Semprebom Goncalves
Luis Carlos Erpen de Bona
Marcos Castilho
Marcos Sunye
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