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
#on ne veut surtout pas exporter les fichiers non cryptés (serveur FTP peu sûr)
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