Fix sentinel FD leak test, checking the wrong OS name (#8364)

This commit is contained in:
Andy Pan 2021-01-20 16:17:20 +08:00 committed by GitHub
parent 1be29606c5
commit 6401920d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
OS=`uname -s`
if [ ${OS} == "Linux" ]
if [ ${OS} != "Linux" ]
then
exit 0
fi