Closed nyodas closed 8 years ago
diff --git a/commands/dgr.go b/commands/dgr.go
index b9a8ba6..8ddc161 100644
--- a/commands/dgr.go
+++ b/commands/dgr.go
@@ -67,7 +67,7 @@ func Execute() {
}
func checkRktVersion() {
- output, err := utils.ExecCmdGetOutput("rkt")
+ output, err := utils.ExecCmdGetOutput("rkt", "version")
if err != nil {
panic("rkt is required in PATH")
}
fixed in v57
DGR crash at launch . Since This PR in rkt implemented in rkt version 1.1.0
Trace
Because the exit code is not 0 when you don't specify a command.