6 lines
294 B
Bash
Executable file
6 lines
294 B
Bash
Executable file
#! /bin/bash
|
|
# Si le script sort avec une erreur, on purge les locks deads
|
|
LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/gest_crans.py "$@"
|
|
trucmuche=$?
|
|
[ $trucmuche -eq 0 ] || LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/ldap_crans.py --zombielock
|
|
exit $(($trucmuche + $?))
|