Skip to content

Commit

Permalink
Merge pull request #219 from tegonal/bugfix-pulled-files
Browse files Browse the repository at this point in the history
fix check if one file was pulled
  • Loading branch information
robstoll authored Oct 25, 2024
2 parents 29b2320 + fae43d2 commit 2e2f136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gt-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function gt_pull() {
elapsed=$(bc <<<"scale=3; $endTime - $startTime")
if ((numberOfPulledFiles > 1)); then
logSuccess "%s files pulled from %s %s in %s seconds" "$numberOfPulledFiles" "$remote" "$path" "$elapsed"
elif ((numberOfPulledFiles = 1)); then
elif ((numberOfPulledFiles == 1)); then
logSuccess "file %s pulled from %s in %s seconds" "$path" "$remote" "$elapsed"
else
returnDying "0 files could be pulled from %s, most likely verification failed, see above." "$remote"
Expand Down

0 comments on commit 2e2f136

Please sign in to comment.