Archived
1
0
This commit is contained in:
Jeff Becker
2017-09-04 07:55:57 -04:00
parent efda3efd56
commit eed0fc8001
3 changed files with 7 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ func main() {
if len(os.Args) > 2 {
tool := os.Args[2]
if tool == "mod" {
if len(os.Args) == 4 && os.Args[3] == "do" {
if len(os.Args) >= 4 && strings.ToLower(os.Args[3]) == "do" {
daemon.Setup()
eng := daemon.ModEngine()
r := bufio.NewReader(os.Stdin)