-e à la place de -f : capture les unix socket
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1778 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
check
2
check
@@ -311,7 +311,7 @@ function testFichierPresent
|
||||
# Si ce n'est pas le cas, relance le programme passé en deuxième paramètre
|
||||
if [ ! -e "/etc/init.d/$2" ]; then
|
||||
checklog "ERREUR : /etc/init.d/$2 introuvable (testFichierPresent)"
|
||||
elif [ ! -f "$1" ]; then
|
||||
elif [ ! -e "$1" ]; then
|
||||
checklog "ERREUR : Fichier $1 absent : relance $2"
|
||||
/etc/init.d/$2 stop
|
||||
/etc/init.d/$2 start
|
||||
|
||||
Reference in New Issue
Block a user