+
Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Conversation

Kortho
Copy link

@Kortho Kortho commented Nov 18, 2019

&& continues the run if the previous command executed correctly, where ; does not and can cause problems

&& only continues if the previous command went successfully, as ; does not care, which can create potential problems
@ventz
Copy link
Contributor

ventz commented Nov 21, 2019

@Kortho This one can cause problems. The reason we actually changed from && to ; is because some commands while executing cleanly do not return 0 (or sometimes even return). Every once in a while this can bite you. Normally, completely agree that you want to reply on "X, Y, Z" happening consecutively, but there are too many moving parts here, and we have seen "non clean" (vs error) codes multiple times show up as randomly as they disappear.

@ventz ventz mentioned this pull request Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载