diff --git a/searchsploit b/searchsploit index b4a01c7eb..e0398e42c 100755 --- a/searchsploit +++ b/searchsploit @@ -88,7 +88,7 @@ function update() cd "${gitpath}/" ## Make sure a git repo is init before updating - if [[ "$( git rev-parse --is-inside-work-tree )" != 1 ]]; then + if [[ "$( git rev-parse --is-inside-work-tree )" != "true" ]]; then if [[ "$( ls )" = "" ]]; then # If directory is empty, just clone git clone "${gitremote}" .