diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/httracker/functions | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions index f9e56f1..56db0f6 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -151,6 +151,12 @@ function httracker_initialize { source $BASE/config || exit 1 fi + # Check if httrack is available + if ! which httrack &> /dev/null; then + echo "error: httrack not avalable" + exit 1 + fi + # Create folders httracker_setup_folders |