scripts/respbats/crans_old
2015-11-14 14:18:06 +01: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 + $?))