Skip to content

[shell module] :ok-exit doesn't affect result #126

@tomconnors

Description

@tomconnors

Looks like the :ok-exit option of the shell module doesn't affect the result. Here's an example:

spire --version
# Version: 0.1.0-alpha.15
spire -e '(ssh "[email protected]" (shell {:cmd "echo foo" :ok-exit (fn [code] false)}))'

This will have :result :ok despite :ok-exit always returning false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions