瀏覽代碼

Die if sibling does not exist

Alois Mahdal 10 年之前
父節點
當前提交
113cac1106
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      dotfiles/gittum/bin/sibling

+ 1
- 0
dotfiles/gittum/bin/sibling 查看文件

@@ -89,6 +89,7 @@ done
89 89
 
90 90
 test -n "$project" || usage
91 91
 test -n "$sibling" || die "could not find older sibling"
92
+test -d "$sibling" || die "sibling does not exist: $sibling"
92 93
 
93 94
 
94 95
 ## body