Remove explicit nil initialization and correct error string.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2019-01-18 09:29:25 +05:30
parent 7f0e04a089
commit 9e638676e9
3 changed files with 4 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ func makeSymlinks(targetName string, commandFns []func() *cobra.Command) error {
}
if errs {
return errors.New("Error creating one or more symlinks.")
return errors.New("Error creating one or more symlinks")
}
return nil
}