summaryrefslogtreecommitdiff
path: root/chromium/build/linux/python_arch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/linux/python_arch.sh')
-rwxr-xr-xchromium/build/linux/python_arch.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/build/linux/python_arch.sh b/chromium/build/linux/python_arch.sh
index e0f63bc6b04..3a41f94a980 100755
--- a/chromium/build/linux/python_arch.sh
+++ b/chromium/build/linux/python_arch.sh
@@ -11,9 +11,7 @@
#
file_out=$(file --dereference "$1")
-# The POSIX spec says that `file` should not exit(1) if the file does not
-# exist, so do our own -e check to catch things.
-if [ $? -ne 0 ] || [ ! -e "$1" ] ; then
+if [ $? -ne 0 ]; then
echo unknown
exit 0
fi