-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[minor] "~/.go-ipfs/daemon.lock" already locked #1053
Labels
Comments
whyrusleeping
added
kind/bug
A bug in existing code (including security flaws)
topic/commands
Topic commands
labels
Apr 11, 2015
fixed! |
thanks @okket -- these sorts of things are really important. our UX should be great. |
torarnv
added a commit
to torarnv/go-ipfs
that referenced
this issue
Apr 17, 2015
Instead of assuming the command is the daemon command and closing the node, which resulted in bugs like ipfs#1053, we cancel the context and let the context children detect the cancellation and gracefully clean up after themselves. The shutdown logging has been moved into the daemon command, where it makes more sense, so that commands like ping will not print out the same output on cancellation.
torarnv
added a commit
to torarnv/go-ipfs
that referenced
this issue
Apr 17, 2015
Instead of assuming the command is the daemon command and closing the node, which resulted in bugs like ipfs#1053, we cancel the context and let the context children detect the cancellation and gracefully clean up after themselves. The shutdown logging has been moved into the daemon command, where it makes more sense, so that commands like ping will not print out the same output on cancellation.
torarnv
added a commit
to torarnv/go-ipfs
that referenced
this issue
Apr 17, 2015
Instead of assuming the command is the daemon command and closing the node, which resulted in bugs like ipfs#1053, we cancel the context and let the context children detect the cancellation and gracefully clean up after themselves. The shutdown logging has been moved into the daemon command, where it makes more sense, so that commands like ping will not print out the same output on cancellation.
torarnv
added a commit
to torarnv/go-ipfs
that referenced
this issue
Apr 20, 2015
Instead of assuming the command is the daemon command and closing the node, which resulted in bugs like ipfs#1053, we cancel the context and let the context children detect the cancellation and gracefully clean up after themselves. The shutdown logging has been moved into the daemon command, where it makes more sense, so that commands like ping will not print out the same output on cancellation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Currently, when stopping a running command like
ipfs ping
withCtrl-C
the client tries to open the repository on close, resulting in the confusing, bogus message:This does not cause any issues other than giving
ipfs
a bad UX rep ;)The text was updated successfully, but these errors were encountered: