Commit 89af5c9
helpers: repo_sync: don't use the operator &&
Because we run the script with set -e
Any return value other than 0 causes the process to abort.
Using the operator && causes the script to abort because when
the command fails there is no path to follow.
If we use the if clause operator we solve the problem.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>1 parent bddafc0 commit 89af5c9
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
0 commit comments