Update check_rman_backup.sh
This commit is contained in:
@@ -10,7 +10,6 @@ unset NLS_LANG
|
|||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# Fonction test_dba : teste si l'utilisateur est DBA
|
# Fonction test_dba : teste si l'utilisateur est DBA
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
function test_dba {
|
|
||||||
if test "$(id|grep dba)"
|
if test "$(id|grep dba)"
|
||||||
then
|
then
|
||||||
return 0
|
return 0
|
||||||
@@ -21,10 +20,6 @@ if test "$(id|grep dba)"
|
|||||||
echo "============================================================="
|
echo "============================================================="
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
test_dba;
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# reporter toutes les instances préntes sur ce serveur
|
# reporter toutes les instances préntes sur ce serveur
|
||||||
|
|||||||
Reference in New Issue
Block a user