diff --git a/command.go b/command.go
index 7e1123c7..c13ee1ec 100644
--- a/command.go
+++ b/command.go
@@ -798,7 +798,7 @@ func (c *Command) preRun() {
 	}
 }
 
-func (c *Command) preRunE() {
+func (c *Command) preRunE() error {
 	for _, x := range initializersWithError {
 		err := x()
 		if err != nil {