Skip to content

Commit 4c0d5ae

Browse files
authored
Merge pull request #8881 from oech3/rm-exit1
Drop redundant || exit 1
2 parents 95104f3 + c3e3847 commit 4c0d5ae

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ jobs:
12101210
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
12111211
do
12121212
echo "Building and testing $f"
1213-
cargo test -p "uu_$f" || exit 1
1213+
cargo test -p "uu_$f"
12141214
done
12151215
12161216
test_all_features:
@@ -1300,11 +1300,11 @@ jobs:
13001300
shell: bash
13011301
run: |
13021302
if [ "${{ runner.os }}" = "Windows" ]; then
1303-
test -f target/debug/chcon.exe || exit 1
1304-
test -f target/debug/runcon.exe || exit 1
1303+
test -f target/debug/chcon.exe
1304+
test -f target/debug/runcon.exe
13051305
else
1306-
test -f target/debug/chcon || exit 1
1307-
test -f target/debug/runcon || exit 1
1306+
test -f target/debug/chcon
1307+
test -f target/debug/runcon
13081308
fi
13091309
- name: Verify workspace builds with stubs
13101310
run: cargo build --features ${{ matrix.job.features }}

0 commit comments

Comments
 (0)