diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4212ec8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +./leech \ No newline at end of file diff --git a/config/config.go b/config/config.go index fc48851..a0f9b09 100644 --- a/config/config.go +++ b/config/config.go @@ -32,6 +32,9 @@ func Init() { defer fh.Close() decoder := json.NewDecoder(fh) - decoder.Decode(&Config) + err = decoder.Decode(&Config) + if err != nil { + panic(err) + } } } diff --git a/leech b/leech deleted file mode 100755 index a73bfc5..0000000 Binary files a/leech and /dev/null differ