mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Shell: Remove sigpipe.sh.out artefact after failure
Helps to avoid to erroneously add the file to git.
This commit is contained in:
parent
62af3acf56
commit
18f053ac31
Notes:
sideshowbarker
2024-07-17 22:49:41 +09:00
Author: https://github.com/mhermier Commit: https://github.com/SerenityOS/serenity/commit/18f053ac319 Pull-request: https://github.com/SerenityOS/serenity/pull/11242 Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ rm -f sigpipe.sh.out
|
|||
# So the test only fails if sigpipe.sh.out exists (since then `exit 1` runs),
|
||||
# not if the `test` statement returns false.
|
||||
if test -e sigpipe.sh.out {
|
||||
rm -f sigpipe.sh.out
|
||||
fail sigpipe did not terminate further commands
|
||||
} else {
|
||||
echo PASS
|
||||
|
|
Loading…
Add table
Reference in a new issue