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

Changed from ; to && #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Changed from ; to && #9

wants to merge 2 commits into from

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