corrections de syntaxe

This commit is contained in:
Yacine31
2023-12-26 00:10:40 +01:00
parent 42b98bbf44
commit a28db35228
3 changed files with 13 additions and 9 deletions

View File

@@ -111,9 +111,11 @@ EOF
)
RUNNING_RMAN=$(echo ${RUNNING_RMAN} | sed 's/^\s*//g')
if [ ${RUNNING_RMAN} -eq 0 ]; then
# RUNNING_RMAN n'est pas vide, donc backup RMAN en cours ... on quitte
f_print("Sauvegarde RMAN en cours ... fin du script")
if [ "${RUNNING_RMAN}" -gt 0 ]; then
# RUNNING_RMAN retourne une valeur > 0, donc backup RMAN en cours ... on quitte
f_print "... "
f_print "Sauvegarde RMAN en cours ... fin du script"
f_print "... "
exit 2
fi