No interactive mode
#14923
Replies: 2 comments 1 reply
-
Use this flag to disable interactive mode. |
Beta Was this translation helpful? Give feedback.
1 reply
-
To clarify: An incomplete transfer returns 0 as exit-code. File not found. /testing. Please contact your web hosting service provider for assistance.
Continue (y/n): y
Transfer incomplete. test.txt…
root@linux: $ echo "$?"
0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use duck.sh in a bash script and use
$?
for determining if the command was successful or not. The problem is that when for example it does not find the container, it gets interactive and asks "Continue (y/n)". When I pressno
, it returns the correct error status and fails, but when I pressyes
, it just continues and returns 0.Is this expected behavior? Is there any no-interactive mode?
Beta Was this translation helpful? Give feedback.
All reactions