Description: Change output path of log 
 This changes the output path of the log from /var/log/vuls to
 the directory user is running goval-dictionary.

Forwarded: not-needed
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Last-Update: 2018-03-16

diff --git a/util/util.go b/util/util.go
index e6c8336..1618a8c 100644
--- a/util/util.go
+++ b/util/util.go
@@ -2,8 +2,10 @@ package util
 
 import (
 	"os"
+/*
 	"path/filepath"
 	"runtime"
+*/
 )
 
 // GenWorkers generate workders
@@ -21,9 +23,13 @@ func GenWorkers(num int) chan<- func() {
 
 // GetDefaultLogDir returns default log directory
 func GetDefaultLogDir() string {
+/*
 	defaultLogDir := "/var/log/vuls"
 	if runtime.GOOS == "windows" {
 		defaultLogDir = filepath.Join(os.Getenv("APPDATA"), "vuls")
 	}
 	return defaultLogDir
+*/
+	p, _ := os.Getwd()
+	return p
 }
