Merge pull request #14882 from aabadie/pr/tools/tapsetup_typo

tools/tapsetup: fix typo in function name
This commit is contained in:
Alexandre Abadie 2020-08-28 13:58:02 +02:00 committed by GitHub
commit 179cf1b8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ usage() {
echo " -h, --help: Prints this text" >&2
}
unsupported_plattform() {
unsupported_platform() {
echo "unsupported platform" >&2
echo "(currently supported \`uname -s\` 'Darwin', 'FreeBSD', and 'Linux')" >&2
}
@ -234,7 +234,7 @@ case "$(uname -s)" in
Linux)
PLATFORM="Linux" ;;
*)
unsupported_plattform
unsupported_platform
exit 1 ;;
esac