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 4cbfe0f1ab
commit 2824100803

View File

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