mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
489c9a2006
always returns 0. This is useful with the llvm.exp based dejagnu testing when a test wants to check the error output of tool invocation that returns non-zero. Since every command is checked with llvm.exp, there needs to be a way to prevent that checking and this script is it. llvm-svn: 35991
11 lines
176 B
Bash
Executable File
11 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Program: ignore
|
|
#
|
|
# Synopsis: Ignore the result code of the command and always return 0
|
|
#
|
|
# Syntax: ignore command <arguments>
|
|
|
|
"$@" || exit 0 && exit 0
|
|
exit 0
|