Skip to content

Commit 14125d5

Browse files
committed
handle runExec error
1 parent d7b27fc commit 14125d5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/command/root.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ func newExecCommand() *cobra.Command {
4848
RunE: func(cmd *cobra.Command, args []string) error {
4949
options.container = args[0]
5050
options.command = args[1:]
51-
_ = runExec(options)
52-
return nil
51+
return runExec(options)
5352
},
5453
}
5554

0 commit comments

Comments
 (0)