summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xausbutler-single.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh
index 820086d..d1d4784 100755
--- a/ausbutler-single.sh
+++ b/ausbutler-single.sh
@@ -17,6 +17,9 @@ done
python jfrteamy-ausbutler/butler.py calculate generate nowait
-lftp -f config/send.lftp
+if command -v lftp &> /dev/null
+then
+ lftp -f config/send.lftp
+fi
echo "Done"