Regle le prb avec dialogrc et l'env

This commit is contained in:
Gabriel Detraz 2015-11-14 14:18:06 +01:00
parent 28cfce0916
commit 1eed679e40
4 changed files with 13 additions and 15 deletions

6
respbats/crans_old Executable file
View file

@ -0,0 +1,6 @@
#! /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 + $?))