6-prerelease6.2

This commit is contained in:
2024-11-13 17:47:34 -07:00
parent 198c012ba0
commit fe1e95216f
3 changed files with 10 additions and 6 deletions
+8 -4
View File
@@ -182,10 +182,14 @@ function handleExport() {
# restoreExportScriptChk=$?
# fi
writeToLog "Deleting $exportBackupScript"
rm -f $exportBackupScript
returnStatus
rmExportBackupChk=$?
if [ -f $exportBackupScript ]; then
writeToLog "Deleting $exportBackupScript"
rm -f $exportBackupScript
returnStatus
rmExportBackupChk=$?
else
writeToLog "$exportBackupScript not found, skipping delete\n"
fi
writeToLog "Backing up $exportScript to $exportBackupScript"
cp $exportScript $exportBackupScript