summaryrefslogtreecommitdiff
path: root/checkdir.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkdir.go')
-rw-r--r--checkdir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkdir.go b/checkdir.go
index b597834..9614d7d 100644
--- a/checkdir.go
+++ b/checkdir.go
@@ -27,7 +27,7 @@ func checkDir(dir string) error {
return err
}
if !fi.IsDir() {
- return fmt.Errorf("%s is not a directory")
+ return fmt.Errorf("%s is not a directory", dir)
}
return nil
}