Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Add compatibility rkt >1.1 #119

@nyodas

Description

@nyodas

DGR crash at launch .
Since This PR in rkt implemented in rkt version 1.1.0

Trace

rkt: missing command
panic: rkt is required in PATH

goroutine 1 [running]:
github.com/blablacar/dgr/commands.checkRktVersion()
    /home/n0rad/Work/go/src/github.com/blablacar/dgr/commands/dgr.go:72 +0xe1
github.com/blablacar/dgr/commands.Execute()
    /home/n0rad/Work/go/src/github.com/blablacar/dgr/commands/dgr.go:24 +0x27
main.main()
    /home/n0rad/Work/go/src/github.com/blablacar/dgr/main.go:17 +0x5c

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/lib/go/src/runtime/asm_amd64.s:1721 +0x1

Because the exit code is not 0 when you don't specify a command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions