mirror of
https://github.com/deajan/obackup.git
synced 2024-10-03 18:13:40 +02:00
Fixed silent option shouldn't exist in batch mode
This commit is contained in:
parent
104d7a0dde
commit
c68e326a45
@ -3,7 +3,7 @@ SUBPROGRAM=obackup
|
|||||||
PROGRAM="$SUBPROGRAM-batch" # Batch program to run osync / obackup instances sequentially and rerun failed ones
|
PROGRAM="$SUBPROGRAM-batch" # Batch program to run osync / obackup instances sequentially and rerun failed ones
|
||||||
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr - ozy@netpower.fr"
|
||||||
PROGRAM_BUILD=2016031301
|
PROGRAM_BUILD=2016052501
|
||||||
|
|
||||||
## Runs an osync /obackup instance for every conf file found
|
## Runs an osync /obackup instance for every conf file found
|
||||||
## If an instance fails, run it again if time permits
|
## If an instance fails, run it again if time permits
|
||||||
@ -29,10 +29,6 @@ fi
|
|||||||
function _logger {
|
function _logger {
|
||||||
local value="${1}" # What to log
|
local value="${1}" # What to log
|
||||||
echo -e "$value" >> "$LOG_FILE"
|
echo -e "$value" >> "$LOG_FILE"
|
||||||
|
|
||||||
if [ $_SILENT -eq 0 ]; then
|
|
||||||
echo -e "$value"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Logger {
|
function Logger {
|
||||||
|
Loading…
Reference in New Issue
Block a user