Skip to content

Commit

Permalink
Fix refresh() failure message grammar, when castle does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed Jun 9, 2016
1 parent 6d0674d commit e4d48f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/refresh.sh
Expand Up @@ -7,7 +7,7 @@ function refresh {
local castle=$2
local fetch_head="$repos/$castle/.git/FETCH_HEAD"
pending 'checking' "$castle"
castle_exists 'check freshness' "$castle"
castle_exists 'refresh' "$castle"

if [[ -e $fetch_head ]]; then
local last_mod=$(stat -c %Y "$fetch_head" 2> /dev/null || stat -f %m "$fetch_head")
Expand Down

0 comments on commit e4d48f4

Please sign in to comment.