From 3b40cb19d961b6c28dde5a2eabfbdff02e629f78 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Mon, 4 Dec 2017 11:49:08 +0100 Subject: [PATCH] Fix bkctld logging on non interactive usage --- bkctld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bkctld b/bkctld index 13b3e75..16b6dc4 100755 --- a/bkctld +++ b/bkctld @@ -506,7 +506,7 @@ log() { if [ $? -eq 0 ]; then sub_${subcommand} "$@" 2>&1 | tee -a $logfile else - sub_${subcommand} "$@" > $logfile 2>&1 + sub_${subcommand} "$@" >> $logfile 2>&1 fi }