diff --git a/bare.sh b/bare.sh index 925818c..9b2c579 100755 --- a/bare.sh +++ b/bare.sh @@ -790,7 +790,7 @@ for f in $REPOSTOBACKUP; do elif [[ $mode == "restic" ]]; then if [[ $CMD == "go" ]]; then if [[ $CRONMODE -eq 1 ]]; then - {RESTIC} backup $AUTHOPTS $CONNECTIONSOPTS $SPEEDOPTS $OTHEROPTS $DATAPATH 2>&1 | egrep "^(Added|processed|snapshot)" >> ${LOG} + ${RESTIC} backup $AUTHOPTS $CONNECTIONSOPTS $SPEEDOPTS $OTHEROPTS $DATAPATH 2>&1 | egrep "^(Added|processed|snapshot)" >> ${LOG} rv=${PIPESTATUS[0]} else [[ $VERBOSE -eq 1 ]] && log "debug: running: [${RESTIC} backup $AUTHOPTS $CONNECTIONSOPTS $SPEEDOPTS $OTHEROPTS $DATAPATH"