summaryrefslogtreecommitdiffstats
path: root/base/server/scripts
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2015-01-07 16:04:45 -0700
committerMatthew Harmsen <mharmsen@redhat.com>2015-01-08 11:26:22 -0700
commit0b6cfad8f1c566bc296ee8bd8be8b84e14b31ae6 (patch)
treee2bad78b89d291754998d5ec32b1206cd584e8e7 /base/server/scripts
parent9e8c5189ab6cce6ded77316439b9fee92e27487c (diff)
downloadpki-0b6cfad8f1c566bc296ee8bd8be8b84e14b31ae6.tar.gz
pki-0b6cfad8f1c566bc296ee8bd8be8b84e14b31ae6.tar.xz
pki-0b6cfad8f1c566bc296ee8bd8be8b84e14b31ae6.zip
Fixed bash syntax error
- Bugzilla Bug #1147924 - dogtag: syntax errors in /usr/share/pki/scripts/operations
Diffstat (limited to 'base/server/scripts')
-rw-r--r--base/server/scripts/operations10
1 files changed, 5 insertions, 5 deletions
diff --git a/base/server/scripts/operations b/base/server/scripts/operations
index 209369182..f524a5576 100644
--- a/base/server/scripts/operations
+++ b/base/server/scripts/operations
@@ -1469,7 +1469,7 @@ backup_instance_configuration_files()
echo "WARNING: The '${pki_instance_configuration_file}' is empty!"
echo " ${PKI} backups will be discontinued until this"
echo " issue has been resolved!"
- $((backup_errors++))
+ ((backup_errors++))
continue
fi
@@ -1483,7 +1483,7 @@ backup_instance_configuration_files()
echo "WARNING: Since the file '${saved_backup_file}' exists, a"
echo " previous backup attempt has failed! ${PKI} backups"
echo " will be discontinued until this issue has been resolved!"
- $((backup_errors++))
+ ((backup_errors++))
continue
fi
@@ -1530,7 +1530,7 @@ backup_instance_configuration_files()
echo " which suggests that the previous backup file has"
echo " been removed! ${PKI} backups will be discontinued"
echo " until this issue has been resolved!"
- $((backup_errors++))
+ ((backup_errors++))
continue
fi
@@ -1561,7 +1561,7 @@ backup_instance_configuration_files()
if [ ! -s ${archived_file} ] ; then
# Issue a warning that the archived backup failed
echo "WARNING: Failed to archive '${pki_instance_configuration_file}' to '${archived_file}'!"
- $((backup_errors++))
+ ((backup_errors++))
continue
fi
@@ -1576,7 +1576,7 @@ backup_instance_configuration_files()
if [ ! -s ${backup_file} ] ; then
# Issue a warning that the backup failed
echo "WARNING: Failed to backup '${pki_instance_configuration_file}' to '${backup_file}'!"
- $((backup_errors++))
+ ((backup_errors++))
continue
else
# Report that 'CS.cfg' has been successfully backed up