diff --git a/scripts/run_dev.sh b/scripts/run_dev.sh index 86f08e54..d521ea2e 100755 --- a/scripts/run_dev.sh +++ b/scripts/run_dev.sh @@ -138,9 +138,8 @@ if [[ -z "$(docker ps)" ]] ; then fi # Check if git-lfs is installed. -git lfs &>/dev/null -if [[ $? -ne 0 ]] ; then - print_error "git-lfs is not insalled. Please make sure git-lfs is installed before you clone the repo." +if ! git lfs &>/dev/null; then + print_error "git-lfs is not installed. Please make sure git-lfs is installed before you clone the repo." exit 1 fi