aboutsummaryrefslogtreecommitdiff
path: root/gittorrentd
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-05-31 18:49:49 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-05-31 18:49:49 -0400
commitf8f833d5203b4dadfdc7632c7688c51931b33d5c (patch)
tree8d9a2778ecfd366f81d64395aca6f58197c5a91c /gittorrentd
parent782d66f4e0af30059445f4ae7d42efc670ea26c5 (diff)
make debug message more useful
Diffstat (limited to 'gittorrentd')
-rwxr-xr-xgittorrentd2
1 files changed, 1 insertions, 1 deletions
diff --git a/gittorrentd b/gittorrentd
index cc60339..3a6c39c 100755
--- a/gittorrentd
+++ b/gittorrentd
@@ -77,7 +77,7 @@ function bpad (n, buf) {
dht.on('ready', function () {
// Spider all */.git dirs and announce all refs.
var repos = glob.sync('*/{,.git/}git-daemon-export-ok', {strict: false})
- console.log(repos)
+ console.log('found repos: ' + repos)
var count = repos.length
repos.forEach(function (repo) {
console.log('in repo ' + repo)