Commit b55fc00e authored by Eric's avatar Eric

test if lftp exist

parent 009d5080
......@@ -12,6 +12,11 @@
. /etc/soo2/config
if [ ! -x /usr/bin/lftp ]; then
echo "ERROR: lftp not found !"
exit -1
fi
#on ne veut surtout pas exporter les fichiers non cryptés (serveur FTP peu sûr)
EXCLUDE=""
cd ${LOGDIR}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment