From 0b6cfad8f1c566bc296ee8bd8be8b84e14b31ae6 Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Wed, 7 Jan 2015 16:04:45 -0700 Subject: Fixed bash syntax error - Bugzilla Bug #1147924 - dogtag: syntax errors in /usr/share/pki/scripts/operations --- base/server/scripts/operations | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'base/server/scripts') 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 -- cgit