diff --git a/searchsploit b/searchsploit index 2c9291619..16ba29fc7 100755 --- a/searchsploit +++ b/searchsploit @@ -96,7 +96,7 @@ function update() if [[ "$( git rev-parse --is-inside-work-tree )" != "true" ]]; then if [[ "$( ls )" = "" ]]; then # If directory is empty, just clone - git clone "${gitremote}" . + git clone --depth=1 "${gitremote}" . else # If not empty, init and add remote git init >/dev/null