New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The exit code for a minikube ssh command is always 0 #3525

Open
pietervogelaar opened this Issue Jan 10, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@pietervogelaar
Copy link

pietervogelaar commented Jan 10, 2019

The minikube ssh command always returns with an exit code 0, even if it fails.

minikube ssh "nonexistingcommand" && minikube ssh "date"

The second command should not be executed, because the first one failed.

@tstromberg

This comment has been minimized.

Copy link
Contributor

tstromberg commented Jan 19, 2019

Confirmed in v0.33.0:

$ minikube ssh "ls /yy" && echo $status
ls: cannot access '/yy': No such file or directory
0

Definitely a WTF.

@tstromberg tstromberg added this to the v1.0.0 milestone Jan 19, 2019

@tstromberg tstromberg added the kind/bug label Jan 19, 2019

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