allow pipe to fail
This commit is contained in:
@@ -80,7 +80,7 @@ while read -r line; do
|
||||
|
||||
logecho "${RHOST}: Starting backups"
|
||||
|
||||
NORDIR=$(echo "$ALLRDIR" | grep -o "|" | wc -l)
|
||||
NORDIR=$(echo "$ALLRDIR" | grep -o "|" | wc -l || true)
|
||||
NORDIR=$(($NORDIR + 1))
|
||||
|
||||
# Loop through all backup sources
|
||||
|
||||
Reference in New Issue
Block a user