Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Error starting app #1

@IcePlains

Description

@IcePlains

Tried your app since the feature is missing in simplewall. But i get an error.

C:\apps>simplewall-utils_1.0.2_windows_amd64.exe allow -n "app1.exe app2.exe"
2020/12/04 08:17:58 Processing...
panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]:
simplewall-utils/cmd/allow.run(0x0, 0x0)
/drone/src/cmd/allow/allow.go:120 +0x1725
simplewall-utils/cmd/allow.glob..func1(0xc72e00, 0xc0000046a0, 0x0, 0x2)
/drone/src/cmd/allow/allow.go:29 +0x29
github.com/spf13/cobra.(*Command).execute(0xc72e00, 0xc000004680, 0x2, 0x2, 0xc72e00, 0xc000004680)
/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc72b60, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
simplewall-utils/cmd.Execute(...)
/drone/src/cmd/root.go:14
main.main()
/drone/src/main.go:9 +0x35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions