git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7992
91ce42f0-d328-0410-95d8-
f526ca767f89
check_two_logs()
{
grep "^ Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
- bstat=${bstat-$?}
+ bstat=${bstat:-$?}
grep "^ Termination: .*Backup Error" tmp/log1.out 2>&1 >/dev/null
if test $? -eq 0; then
bstat=2
fi
grep "^ Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
- rstat=${rstat-$?}
+ rstat=${rstat:-$?}
grep "^ Termination: .*Restore Error" tmp/log2.out 2>&1 >/dev/null
if test $? -eq 0; then
rstat=2