[crans] run --zombielock if gest_crash
Je revendique mon point. -- Aïe
This commit is contained in:
parent
9abdec7a0c
commit
736af563d7
1 changed files with 3 additions and 1 deletions
|
@ -4,5 +4,7 @@ if [ ! -e /usr/scripts/var/encodage_scripts/$UID ]; then
|
||||||
cat /usr/scripts/var/encodage_scripts/disclaimer
|
cat /usr/scripts/var/encodage_scripts/disclaimer
|
||||||
touch /usr/scripts/var/encodage_scripts/$UID
|
touch /usr/scripts/var/encodage_scripts/$UID
|
||||||
else
|
else
|
||||||
LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/gest_crans.py $*
|
LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/gest_crans.py "$@"
|
||||||
|
[ $? -ne 0 ] && LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/ldap_crans.py --zombielock
|
||||||
|
|
||||||
fi;
|
fi;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue