summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.go b/shell.go
index f2806d5..18aef05 100644
--- a/shell.go
+++ b/shell.go
@@ -55,7 +55,7 @@ func (repo *Repo) strictRun(cmd []string) (bool, error) {
func (repo *Repo) Exists(filename string) bool {
if repo == nil {
log.Warn("repo == nil for Exists()")
- panic(-1)
+ return false
}
testf := filepath.Join(repo.FullPath, filename)
_, err := os.Stat(testf)