Skip to content

fab-chroot should return exit code of command run within chroot - not just it's own exit code #2133

Description

@JedMeister

Currently fab-chroot only exits non-zero if the actual fab command itself fails (e.g. chroot path does not exit). If the command run within the chroot fails, it will exit 0 regardless of the command's exit code. Here's an example:

# fab-chroot build/root.patched "pretend_command"
/bin/bash: line 1: pretend_command: command not found
# echo $?
0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfabTurnKey appliance fabrication tool - preinstalled in TKLDev

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions