Cleaned up if statement

I think you guys are doing great work! Keep it up.
Are you sure? :). `err` is already declared above:

```go
file, err := os.OpenFile(ServiceFilePath(c.Root, id), os.O_WRONLY|os.O_CREATE, 0644)
	if err != nil {
		return fmt.Errorf("failed to create service file: %v", err)
	}
```

I think this `err` declaration overwrites the old `err`.