correction mineurs

This commit is contained in:
Yacine31
2023-12-25 23:35:00 +01:00
parent 9fb568a6ee
commit 42b98bbf44

View File

@@ -111,7 +111,7 @@ EOF
)
RUNNING_RMAN=$(echo ${RUNNING_RMAN} | sed 's/^\s*//g')
if [ -n "${RUNNING_RMAN}" ]; then
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")
exit 2