scripts/respbats/crans
2015-09-09 11:18:54 +02:00

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 + $?))